InputHandler#justReleased()

justReleased(pointerId, delay) → {boolean}

Returns true if the pointer was touching this Sprite, but has been released 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 out.

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

Please login to continue.