repeat(total, repeat, index) → {Phaser.Tween}
Sets the number of times this tween will repeat.If you have not yet called Tween.to or Tween.from at least once then this method will do nothing, as there are no tweens to repeat.If you have child tweens and pass -1 as the index value it sets the number of times they'll repeat across all of them.If you wish to define how many times this Tween and all children will repeat see Tween.repeatAll.
Parameters
Name Type Argument Default Description total