Jump to content
Search Community

change the global timeline duration without changing timescale

anotheruser test
Moderator Tag

Recommended Posts

Hi

 

I have a timeline with two tweens

the two tweens are 8 seconds each and repeat is set to be -1 so that it is infinite

 

so the timeline's whole time is now showing as infinite . 

I want to set the timeline time to a specific amount without actually changing the timescale

 

timeline.set({}, {}, time); will work , it works only if the time is greater not lesser. how to actually achieve this?

Link to comment
Share on other sites

20 minutes ago, anotheruser said:

i want the progress to be 1 when we pause

So you want the timeline to jump to the end state?

 

Or after 10 seconds do you want the timeline to complete its current timeline and then pause at the end? For example, if a timeline takes 3 seconds to complete and you call the method at 10 seconds then it finishes its last repeat and ends at time 12.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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