Phaser API Documentation

  Version: 
loop: number

Description:

Loop this Timeline? Can be -1 for an infinite loop, or an integer. When enabled it will play through ALL Tweens again (use Tween.repeat to loop a single tween)

Type:
number
Default: 0
Since: 3.0.0
Source: src/tweens/Timeline.js (Line 98)