InputHandler#pointerDown()

pointerDown(pointerId) → {boolean}

If the Pointer is down this returns true.
This only checks if the Pointer is down, not if it's down over any specific Sprite.

Parameters
Name Type Argument Default Description
pointerId integer <optional>
0
Returns
boolean -
  • True if the given pointer is down, otherwise false.
Source code: input/InputHandler.js (Line 539)
doc_phaser
2017-02-14 10:53:26
Comments
Leave a Comment

Please login to continue.