Hi, @PointC I am building one carousel with a different animation, I am trying to understand your codepen, can I get a little explanation on what exactly these lines are doing and how it is looping the slides.
gsap.set(targets, { xPercent: -100 });
gsap.set(targets[0], { xPercent: 0 });
https://codepen.io/PointC/pen/mdPOyYZ/a18bfadb3e315a0d18d4e34d264aa25e
Thanks!