Hey!
I'm working on a mouse follower using React + TypeScript, following the new useGSAP package recommendations. I'm trying to use quickTo with the rotational direction plugin, but it would only work with degrees in number (also will throw a TS error if using TypeScript). Is this indeed a limitation, or am I missing something here?
Created a demo really quick to showcase the scenario. As pointed out in line 48, using the ${rotation}_short syntax for the rotation property won't work along with a quickTo. Sample here:
https://codepen.io/joyboyar/pen/WNWRQgw
Also, if not this way, what would you recommend to achieve the same "lerp" effect with the rotation while doing the same as "_short" does?
Thanks in advance 🫡