Hello!
here's the codepen:
https://codepen.io/aeroldb/pen/ZExeaBJ
So what I'm trying to do is when I scroll to another section. The direction of the boxes will change to all boxes going down the screen(it will stop going to the right and the direction of the animation changes). When I go back to the previous section. The animation for the boxes will go back to section 1 animation(which is all boxes going out of the screen to the right). When I scroll back up, the whole resets too, which shouldn't, I want it to be smooth. How do I fix this? Thank you very much! I'm still learning gsap