Mouse¶
This event is triggered whenever the mouse is moved or the scroll wheel is scrolled. It’s RegisterId
is "Mouse"
.
EventData¶
- Scrolled (bool)
- True if the mouse wheel has been scrolled.
- ScrollDelta (int)
- If the mouse wheel has been scrolled this is how much it’s been scrolled and in what direction. Otherwise this is 0.
- MouseMove (bool)
- True if the mouse has been moved.
- MouseX (int)
- The x position of the mouse in screen coordinates.
- MouseY (int)
- The y position of the mouse in screen coordinates.
- Control (bool)
- True if the ctrl button is being held down.
- ShiftDown (bool)
- True if the shift button is being held down.
- AltDown (bool)
- True if the alt button is being held down.
- WindowsDown (bool)
- True if the windows button is being held down.