_SpriteMouse

_SpriteMouse

new _SpriteMouse()

Look at the Input reference pages before reading these docs. Used to create `sprite.mouse` input objects.
Source:

Extends

Classes

_SpriteMouse

Methods

hovered() → {boolean}

Source:
Returns:
Type:
boolean
true on the first frame that the mouse is no longer over the sprite

hovering() → {number}

Source:
Returns:
Type:
number
the amount of frames the mouse has been over the sprite

hovers() → {boolean}

Source:
Returns:
Type:
boolean
true on the first frame that the mouse is over the sprite