repeatAll(total) → {Phaser.Tween}
Set how many times this tween and all of its children will repeat.
A tween (A) with 3 children (B,C,D) with a repeatAll
value of 2 would play as: ABCDABCD before completing.
Parameters
Name | Type | Argument | Default | Description |
---|---|---|---|---|
total | number | <optional> | 0 | How many times this tween and all children should repeat before completing. Set to zero to remove an active repeat. Set to -1 to repeat forever. |
Returns
This tween. Useful for method chaining.
- Source code: tween/Tween.js (Line 548)
Please login to continue.