Enum InputSingleton.MouseMode

enum MouseMode : int { ... }

Enum members

NameDescription
mouseModeCaptured Captures the mouse. The mouse will be hidden and unable to leave the game window, but it will still register movement and mouse button presses. On Windows and Linux, the mouse will use raw input mode, which means the reported movement will be unaffected by the OS' mouse acceleration settings.
mouseModeConfined Makes the mouse cursor visible but confines it to the game window.
mouseModeHidden Makes the mouse cursor hidden if it is visible.
mouseModeVisible Makes the mouse cursor visible if it is hidden.