Static Protected _getGets the mouse position relative to an element given a screen pixel ratio.
The mouse position
_getRelativeMousePosition
Static clearClears all captured source events.
clearSourceEvents
Static createStatic isStatic setSets the element the mouse is bound to (and relative to).
setElement
Static setStatic setGenerated using TypeDoc
The
Matter.Mousemodule contains methods for creating and manipulating mouse inputs.