Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 470 Bytes

mouse-input-event.md

File metadata and controls

12 lines (11 loc) · 470 Bytes

MouseInputEvent Object extends InputEvent

  • type string - The type of the event, can be mouseDown, mouseUp, mouseEnter, mouseLeave, contextMenu, mouseWheel or mouseMove.
  • x Integer
  • y Integer
  • button string (optional) - The button pressed, can be left, middle, right.
  • globalX Integer (optional)
  • globalY Integer (optional)
  • movementX Integer (optional)
  • movementY Integer (optional)
  • clickCount Integer (optional)