Jump to content
Search Community

jump to the end of a TimelineMax when running in reverse.

engineersatendra test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hello engineersatendra, and Welcome to the GreenSock Forum!

 

You can try to use the seek() method to go to a specific point in the timeline

  • [override] Jumps to a specific time (or label) without affecting whether or not the instance is paused or reversed.

seek(): http://greensock.com/docs/#/HTML5/GSAP/TimelineMax/seek/

 

____________________________________________________________________

 

There is also the progress() method:

  • [override] Gets or sets the timeline's progress which is a value between 0 and 1 indicating the position of the virtual playhead (excluding repeats) where 0 is at the beginning, 0.5 is halfway complete, and 1 is complete.

progress(): http://greensock.com/docs/#/HTML5/GSAP/TimelineMax/progress/

 

____________________________________________________________________


If your still having issues then please create a limited codepen demo so we see your code in context:

 

 

Resources:

GSAP DOCS:  http://greensock.com/docs/#/HTML5/GSAP/

 

Thanks :)

  • Like 2
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...