Phaser API Documentation

  Version: 
play([fromStart])

Description:

Starts this Timeline running.

If the Timeline is already running and the fromStart parameter is true, then calling this method will reset the Timeline events as incomplete.

If you wish to resume a paused Timeline, then use the Timeline.resume method instead.

Parameters:

name type arguments Default description
fromStart boolean <optional> true

Reset this Timeline back to the start before playing.

Returns:
Description:

This Timeline instance.

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