Phaser API Documentation

  Version: 
resetTweens(resetFromLoop)

Description:

Resets all of the timeline's tweens back to their initial states. The boolean parameter indicates whether tweens that are looping should reset as well, or not.

Parameters:

name type description
resetFromLoop boolean

If true, resets all looping tweens to their initial values.

Since: 3.0.0
Source: src/tweens/Timeline.js (Line 562)