Jinesh Posted November 11, 2022 Share Posted November 11, 2022 Hi, I'm trying to achieve a basic threejs animation using GSAP scroll trigger. but its not working here (codepen sample). See the Pen MWXpzvK by jineshpb (@jineshpb) on CodePen Link to comment Share on other sites More sharing options...
Trapti Posted November 11, 2022 Share Posted November 11, 2022 Hi, The given codePen has many syntax error and scrollTrigger was not included. Also there was no HTML element ".first-move" which you are using to trigger this animation. I have corrected all the above in the below codePen. See the Pen qBKrvaj?editors=0011 by tripti1410 (@tripti1410) on CodePen I suggest you to read GSAP and scrollTrigger docs. 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