takachan Posted July 28, 2021 Posted July 28, 2021 Good day, I want to create a text reveal animation as shown on the codepen as a scrolltrigger. To have the animation starts when the trigger reached the middle of the screen when scrolled. Can someone help me? See the Pen EMOwaO by PointC (@PointC) on CodePen.
Solution GreenSock Posted July 28, 2021 Solution Posted July 28, 2021 You've gotta load ScrollTrigger and also update your version of GSAP. Is this what you want?: See the Pen yLbKVPE by GreenSock (@GreenSock) on CodePen. 1
takachan Posted July 28, 2021 Author Posted July 28, 2021 oh wow thank you! just what I wanted! now i just need to figure out a way to have the animation not on repeat...
GreenSock Posted July 28, 2021 Posted July 28, 2021 30 minutes ago, takachan said: now i just need to figure out a way to have the animation not on repeat... Remove the repeat: -1 line on your timeline 1
takachan Posted July 29, 2021 Author Posted July 29, 2021 Thank You!! Got everything to work as I wanted.
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