Values

Visible

Makes the mouse cursor visible if it is hidden.

Hidden

Makes the mouse cursor hidden if it is visible.

Captured

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 godot.InputEventMouseMotion.relative.

Confined

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