Phaser API Documentation

  Version: 
dispatchEvent(event, [callback])

Description:

Internal method that will emit a TweenChain based Event and invoke the given callback.

Parameters:

name type arguments description
event Phaser.Types.Tweens.Event

The Event to be dispatched.

callback Phaser.Types.Tweens.TweenCallbackTypes <optional>

The name of the callback to be invoked. Can be null or undefined to skip invocation.

Since: 3.60.0