Flags the Tween as being complete only once the current loop has finished.
This is a useful way to stop an infinitely looping tween once a complete cycle is over, rather than abruptly.
If you don't have a loop then call Tween.stop
instead.
name | type | arguments | description |
---|---|---|---|
loops | number | <optional> |
The number of loops that should finish before this tween completes. Zero means complete just the current loop. |
This Tween instance.