Jump to content
Search Community

Try to do scrolltrigger scrub but not working

Naymur test
Moderator Tag

Go to solution Solved by akapowl,

Recommended Posts

  • Solution

Hello  @Naymur - welcome to the forum!

 

I'm not sure I 100% understand what exactly it is you want to do - but the ScrollTrigger does in fact 'scrub' the timeline - it's just that the distance between your start and end is actually not existant because when you pass the start-point, your end-trigger will also have been passed already.

 

Set your end according to the distance you want to scrub the timeline over.

 

See the Pen gOKaQKz by akapowl (@akapowl) on CodePen

 

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...

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...