InputSingleton.MouseMode

Values

ValueMeaning
mouseModeVisible0

Makes the mouse cursor visible if it is hidden.

mouseModeHidden1

Makes the mouse cursor hidden if it is visible.

mouseModeCaptured2

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.

mouseModeConfined3

Makes the mouse cursor visible but confines it to the game window.

Meta