Jump to content


duration timing

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

I would like to know how can I make an animation appear longer? I want it to 



var tl = new TimelineMax({repeat:2})
        tl.from($line1, 1, {opacity:0},"+=1.75")
          .to($line1, 1.5, {opacity:0},"+=0.25")
          .from($line2, 1.5, {opacity:0}, "+=1.15")
          .to($line2, 1, {opacity:0})
          .from($line3, 4, {opacity:0}, "go-=0.35")
          .from($line4, 4, {opacity:0}, "go-=0.35")
          .from($btn, 4, {opacity:0}, "go-=0.35")


i changed 4 to 0.5 but then how do I make it appear longer ?


What happens as well, I have the gif image loop 3 and the copy text repeat 2. On the last repeat the copy seems to overlap the image.




Can anyone help?

Link to comment
Share on other sites



It would really help to see a little demo.

I don't understand what the gif image loop is or copy text.


If you could make a reduced test case in codepen: http://greensock.com/forums/topic/9002-read-this-first-how-to-create-a-codepen-demo/ that would be great.

We don't need to see your real assets or the full project. Just some text and colored divs will be fine.


In the meantime you can try setting the timeScale() of the timeline to slow down the entire animation like

tl.timeScale(0.5) // half speed
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.