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