Phaser API Documentation

dispatchTimelineEvent(event, callback)


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


name type description
event Phaser.Types.Tweens.Event

The Event to be dispatched.

callback function

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

Since: 3.19.0
Source: src/tweens/Timeline.js (Line 271)