Jump to content
GreenSock

InTheOne

Have no Scrub On Reverse or Ignore Scrub on Reverse and Reverse to Start

Recommended Posts

I have a timeline running with a scrub that looks best with a high scrub value playing forwards however on reverse I need to have no scrub or have a way to fast-forward the timeline to the start (ignoring the scrub) because the really slow scrub does not work well in reverse. Any ideas? 

 

You can see what I mean when you scroll back after passing the bottom of the city: http://phpstack-452338-1436478.cloudwaysapps.com/

Link to comment
Share on other sites

That's a very odd request, but I suppose you could probably tap into .getTween() to force that tween to its end in an onUpdate or something. Sorta like

onUpdate: self => self.direction < 0 && self.getTween().progress(1)

If you still need help, please provide a minimal demo

 

Happy tweening!

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