How make the object.rotation be locked on to the mouse position

Is that what you’re looking for?