transformorigin gsap

JavaScript
tl.to(needle, 5, {rotation: 360, transformOrigin:"4px 12px"});
//I measured to where the center of the needle is and got the values from width:4px height: 12px for the transformOrigin
Source

Also in JavaScript: