Karmor
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Karmor
-
-
Hello all, I'm new to GSAP and the scrolltrigger plugin and I think it's fantastic, however I've become unstuck trying to implement an idea for something and need a little assistance so any help is greatly appreciated.
Anyway, what I want to do is reset the triggered animation you see there in the codepen when someone scrolls up then back down the page, which is all working as intended, however, I don't want the reset to trigger while you can still see the element that gets reset. So basically, I want that reset to only happen once the green box is no longer in the viewport, how do I go about doing this?
Very interested in finding out the solution. Thanks a bunch!
Possible to offset reset for scroll trigger?
in GSAP
Posted
Awesome, thank you so much for the quick reply, that's incredibly helpful thanks Zach!