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