Click or drag to resize

InputMouseMode Enumeration

[Missing <summary> documentation for "T:Godot.Input.MouseMode"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum MouseMode
Members
  Member nameValueDescription
Visible0

Makes the mouse cursor visible if it is hidden.

Hidden1

Makes the mouse cursor hidden if it is visible.

Captured2

Captures the mouse. The mouse will be hidden and its position locked at the center of the screen.

Note: If you want to process the mouse's movement in this mode, you need to use Relative.

Confined3

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

See Also