InputHandler#pointerOver()

pointerOver(pointerId) → {boolean}

Is the Pointer over this Sprite?

Parameters
Name Type Argument Default Description
pointerId integer <optional>
(check all)

The ID number of a Pointer to check. If you don't provide a number it will check all Pointers.

Returns
boolean -
  • True if the given pointer (if a index was given, or any pointer if not) is over this object.
Source code: input/InputHandler.js (Line 601)
doc_phaser
2017-02-14 10:53:28
Comments
Leave a Comment

Please login to continue.