celli Posted October 5, 2021 Share Posted October 5, 2021 Can I put an ease on a master timeline? I would like to add an ease to the whole timeline, in addition to the eases that I've added to each tween in the timeline, for more control over my easing / timing overall. In my codePen I've added the ease to the master Timeline, but it doesn't take effect—and I wonder if there is a way to do it now with the latest GSAP version. See the Pen KKqjyVE by celli (@celli) on CodePen Link to comment Share on other sites More sharing options...
PointC Posted October 5, 2021 Share Posted October 5, 2021 You can tween the progress() or timeScale() of the master timeline. Something like this should work. gsap.to(master, { duration: master.duration(), progress: 1, ease: "expo.inOut" }); Happy tweening. 4 Link to comment Share on other sites More sharing options...
celli Posted October 5, 2021 Author Share Posted October 5, 2021 Thanks PointC! Yea, I see that does work. I just need to pause my master timeline first. Thanks! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now