InputHandler#InputHandler

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)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.