Jump to content
Search Community

How to get the start value of a ScrollTrigger. Eg tl.scrollTrigger.start equals 0?

mvaneijgen test
Moderator Tag

Go to solution Solved by akapowl,

Recommended Posts

Yep, exactly right. Also, you don't HAVE to wait 1 tick. The whole point is that there's no way for GSAP to know when you're done populating your timeline, so it has to wait a tick but since YOU know when you're done populating your timeline, you can manually trigger the refresh() at that point: 

See the Pen MWqyeRB?editors=1010 by GreenSock (@GreenSock) on CodePen

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