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)
Please login to continue.