To do a basic rotation based on the mouse cursor position I'd use GSAP's utility methods to do something like this: See the Pen wvMybVw?editors=0100 by GreenSock (@GreenSock) on CodePen