checkPointerOver(pointer, fastTest) → {boolean}
Checks if the given pointer is over the Sprite this InputHandler belongs to.
Use the fastTest
flag is to quickly check just the bounding hit area even if InputHandler.pixelPerfectOver
is true
.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
pointer | Phaser.Pointer | |||
fastTest | boolean | <optional> | false | Force a simple hit area check even if |
Returns
boolean -
- Source code: input/InputHandler.js (Line 755)
Please login to continue.