Enum MouseButton
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum MouseButton : long
Fields
Left = 1
Primary mouse button, usually assigned to the left button.
Middle = 3
Middle mouse button.
None = 0
Enum value which doesn't correspond to any mouse button. This is used to initialize MouseButton properties with a generic state.
Right = 2
Secondary mouse button, usually assigned to the right button.
WheelDown = 5
Mouse wheel scrolling down.
WheelLeft = 6
Mouse wheel left button (only present on some mice).
WheelRight = 7
Mouse wheel right button (only present on some mice).
WheelUp = 4
Mouse wheel scrolling up.
Extra mouse button 1. This is sometimes present, usually to the sides of the mouse.
Extra mouse button 2. This is sometimes present, usually to the sides of the mouse.