Share Posted May 12, 2022 I'm fairly new to GSAP and I'm currently struggling to figure out how to stop an animation once it reaches the end of the container. I've attached a screenshot of the design. I'm trying to make the circle move to the end of the container and then stop. Currently it moves completely off the page and I can't seem to see any way of making it only at the end of container. See video of animation here: https://www.dropbox.com/s/kv7003ljjsvbbtm/Screen Recording 2022-05-12 at 11.59.34.mov?dl=0 See the Pen vYdXxVx by rownco (@rownco) on CodePen Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now