MouseEvent
The MouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click, mousedown, mousemove, and mouseup.
See MouseArea for how to listen for these events.
Properties
| Property | Type | Description |
|---|---|---|
x | Number | The X coordinate of the mouse pointer in local coordinates. Read-only. |
y | Number | The Y coordinate of the mouse pointer in local coordinates. Read-only. |