Jump to content

Tween duration with repeat: -1


Shalmak
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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