2019-07-26 23:11:50 +00:00
|
|
|
# MouseInputEvent Object extends `InputEvent`
|
|
|
|
|
2021-11-16 04:13:18 +00:00
|
|
|
* `type` string - The type of the event, can be `mouseDown`,
|
2019-07-26 23:11:50 +00:00
|
|
|
`mouseUp`, `mouseEnter`, `mouseLeave`, `contextMenu`, `mouseWheel` or `mouseMove`.
|
|
|
|
* `x` Integer
|
|
|
|
* `y` Integer
|
2021-11-16 04:13:18 +00:00
|
|
|
* `button` string (optional) - The button pressed, can be `left`, `middle`, `right`.
|
2019-07-26 23:11:50 +00:00
|
|
|
* `globalX` Integer (optional)
|
|
|
|
* `globalY` Integer (optional)
|
|
|
|
* `movementX` Integer (optional)
|
|
|
|
* `movementY` Integer (optional)
|
|
|
|
* `clickCount` Integer (optional)
|