Jump to content

Tween duration with repeat: -1


Recommended Posts

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


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...