Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
middle
Middle mouse button.
core-defs.swift:829case middle
Other cases
case none
Enum value which doesn’t correspond to any mouse button. This is used to initialize
MouseButton
properties with a generic state.case left
Primary mouse button, usually assigned to the left button.
case right
Secondary mouse button, usually assigned to the right 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).