Phaser API Documentation

  Version: 

Member of: Phaser.Tweens.Tween

loop: number

Description:

Loop this tween? Can be -1 for an infinite loop, or an integer. When enabled it will play through ALL TweenDatas again. Use TweenData.repeat to loop a single element.

Type:
number
Default: 0
Since: 3.0.0