Phaser API Documentation

  Version: 
Filter
Namespace: Events
Phaser.Time.Events
Source: src/time/events/index.js (Line 7)

Events

COMPLETE
Focus
Focus

Description:

The Timeline Complete Event.

This event is dispatched by timeline when all timeline events complete.

Listen to it from a Timeline instance using Timeline.on('complete', listener), i.e.:

const timeline = this.add.timeline();
timeline.on('complete', listener);
timeline.play();

Parameters:

name type description
timeline Phaser.Time.Timeline

A reference to the Timeline that emitted the event.

Since: 3.70.0
Focus
Focus