Thank you for the quick response, indeed I was using the old version.
I've tried to get acquitted with the newer version of GSAP and it is really great, reduced my code to 1/4th.
I've followed the documentation and a pair of examples but couldnt make it work.
Could you please tell me if the concept is correct and maybe my html is messy...
(Hopefully it's not just some comma)
const tl = gsap.timeline({
yoyo: true,
repeat: -1
}).to("svg *", {
duration: 2,
x: "+=random(-500, 500)",
y: "+=random(-500, 500)",
rotation: "+=random(-45, 45)",
ease: "power4.inOut",
opacity: 0
});