Tweens with persist:true
and a completeDelay
are destroyed on completion and cannot be replayed
#7008
Labels
persist:true
and a completeDelay
are destroyed on completion and cannot be replayed
#7008
Version
Description
If you add
persist:true
and acompleteDelay
to a Tween, you cannot replay it later after it completes, as the tween gets destroyed. The expected behavior is that you would be able to play it again.Example Test Code
The example below shows two tweens, one with
completeDelay
and one without, both withpersist:true
. The first tween can be replayed over and over as needed, the second one cannot, and you will get theCannot play destroyed Tween
warning in the console.The text was updated successfully, but these errors were encountered: