new _SpriteMouse()
Look at the Input reference pages before reading these docs.
Used to create `sprite.mouse` input objects.
Extends
Classes
Methods
hovered() → {boolean}
Returns:
- Type:
-
boolean
true on the first frame that the mouse is no longer over the sprite
hovering() → {number}
Returns:
- Type:
-
number
the amount of frames the mouse has been over the sprite