Enum DisplayServer.MouseMode
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum DisplayServer.MouseMode : long
Fields
Captured = 2
Captures the mouse. The mouse will be hidden and its position locked at the center of the window manager's window.
Note: If you want to process the mouse's movement in this mode, you need to use Relative.
Confined = 3
Confines the mouse cursor to the game window, and make it visible.
ConfinedHidden = 4
Confines the mouse cursor to the game window, and make it hidden.
Hidden = 1
Makes the mouse cursor hidden if it is visible.
Visible = 0
Makes the mouse cursor visible if it is hidden.