hitTest(displayObject, pointer, localPoint)
Tests if the pointer hits the given object.
Parameters
Name | Type | Description |
---|---|---|
displayObject | DisplayObject | The displayObject to test for a hit. |
pointer | Phaser.Pointer | The pointer to use for the test. |
localPoint | Phaser.Point | The local translated point. |
- Source code: input/Input.js (Line 924)
Please login to continue.