The x distance moved since the previous mouse event.
The y distance moved since the previous mouse event.
The element that the mouse position is calculated relative to.
The x distanced scrolled during the current wheel event.
The y distance scrolled during the current wheel event.
The z distance scrolled (zoomed) during the current wheel event.
The x coordinate of the mouse relative to element.
The x coordinate of the mouse relative to element.
Add the appropriate event listeners for the mouse.
This method is called automatically when a mouse object is created.
Check whether one of the mouse buttons is down.
Remove the event listeners for the mouse. This can be used to stop the mouse processing events.
Generated using TypeDoc
A class that tracks the mouse position, wheel, and buttons.