Phaser API Documentation

  Version: 
<private> resetCursor(interactiveObject, [forceReset])

Description:

Called by the InputPlugin when processing over and out events.

Tells the Input Manager to clear the hand cursor, if set, during its postUpdate step.

Parameters:

name type arguments Default description
interactiveObject Phaser.Types.Input.InteractiveObject

The Interactive Object that called this method. Pass null if you just want to set the force value.

forceReset boolean <optional> false

Should the reset happen regardless of the object's cursor state? Default false.

Since: 3.10.0