Skip to content

mouse_move

Emitted when the mouse is moved inside the window.

Parameters

  1. mouse_move : string - Event name.
  2. pressedButtons : number[] - Array containing mouse buttons being pressed.
  3. x : number - X coordinate of the mouse.
  4. y : number - Y coordinate of the mouse.

Button IDs

ID Button
1 left
2 right
3 middle
4 button 4
5 button 5

Last update: March 11, 2023
Created: March 11, 2023