Shalmak Posted November 2, 2018 Share Posted November 2, 2018 I have a tween with repeat: -1 (infinite) Per the documentation, I was expecting the tween duration to reflect the duration of a single repetition. Similarly I was expecting the tween progress to reflect the progress through the current repetition. In fact the duration and totalDuration both hold some huge number, and accordingly the progress holds very small numbers (equal to elapsed divided by duration, I believe). Is this a bug? It seems rather useful to be able to know the progress within a single repetition of an infinite tween. Link to comment Share on other sites More sharing options...
samme Posted November 3, 2018 Share Posted November 3, 2018 You're right, that does seem to contradict the docs. Link to comment Share on other sites More sharing options...
samme Posted November 4, 2018 Share Posted November 4, 2018 I think if you use { loop: -1 } instead you'll get the duration you want. Link to comment Share on other sites More sharing options...
Recommended Posts