Hello, completly new to GSAP. I was experimenting with an SVG after I managed to animate everything I got stuck on the "star" where I had to move it diagonally.
The way it moves now is way way akward. My mindset is getting the star outside the viewbox of svg and give it a random X start position then move it diagonally outside of viewbox again and put this in a loop.
Although I cant make the diagonally animation look smooth at all.
I read some other examples like this
: but seriously I couldnt find out how it works!