Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
none
Enum value which doesn’t correspond to any mouse button. This is used to initialize MouseButton
properties with a generic state.
case none
Other cases
case left
Primary mouse button, usually assigned to the left button.
case right
Secondary mouse button, usually assigned to the right button.
case middle
Middle mouse button.
case wheelUp
Mouse wheel scrolling up.
case wheelDown
Mouse wheel scrolling down.
case wheelLeft
Mouse wheel left button (only present on some mice).
case wheelRight
Mouse wheel right button (only present on some mice).