Phaser API Documentation

  Version: 
destroy()

Description:

Destroys this Timeline.

This will remove all events from the Timeline and stop it from processing.

Any Tweens that were currently running as a result of this Timeline will be stopped.

This method is called automatically when the Scene shuts down, but you may also call it directly should you need to destroy the Timeline earlier.

Since: 3.60.0
Source: src/time/Timeline.js (Line 766)