Phaser API Documentation

  Version: 
destroy()

Description:

Destroys this Timeline.

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

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 589)