new InputHandler(sprite)
The Input Handler is bound to a specific Sprite and is responsible for managing all Input events on that Sprite.
Parameters
Name | Type | Description |
---|---|---|
sprite | Phaser.Sprite | The Sprite object to which this Input Handler belongs. |
- Source code: input/InputHandler.js (Line 14)
Please login to continue.