Phaser API Documentation

  Version: 
dispatchTimelineEvent(event, callback)

Description:

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

Parameters:

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)