This method will force the given Game Object into the given input state.
name | type | arguments | Default | description |
---|---|---|---|---|
pointer | Phaser.Input.Pointer |
The pointer to use when setting the state. |
||
gameObject | Phaser.GameObjects.GameObject |
The Game Object to have its state set. |
||
gameObjectEvent | string |
The event to emit on the Game Object. |
||
inputPluginEvent | string |
The event to emit on the Input Plugin. |
||
setCursor | boolean | <optional> | false |
Should the cursor be set to the Game Object's cursor? |