InputHandler#justOver()

justOver(pointerId, delay) → {boolean}

Returns true if the pointer has entered the Sprite within the specified delay time (defaults to 500ms, half a second)

Parameters
Name Type Argument Default Description
pointerId integer <optional>
0
delay number

The time below which the pointer is considered as just over.

Returns
boolean -
Source code: input/InputHandler.js (Line 1275)
doc_phaser
2017-02-14 10:53:24
Comments
Leave a Comment

Please login to continue.