MouseEvent

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.

Members

(readonly) x :Number

The X coordinate of the mouse pointer in local coordinates.

Type:
  • Number

(readonly) y :Number

The Y coordinate of the mouse pointer in local coordinates.

Type:
  • Number