Hello,
I am new to GSAP and am wondering if it is possible to translate an object as a function of the tweens duration?
For example, if I wanted an image to "jump" in a single tween, could I call something like
gsap.to(".img", {y: () => {Math.sin(current duration * Math.PI)}, duration:1}
If so, how might I do that?