Sets a custom cursor on the parent canvas element of the game, based on the cursor
setting of the given Interactive Object (i.e. a Sprite).
See the CSS property cursor
for more information on MDN:
name | type | description |
---|---|---|
interactiveObject | Phaser.Types.Input.InteractiveObject |
The Interactive Object that will set the cursor on the canvas. |