How to Rotate Object Without Going Off-Axis?

Just use mouse x and mouse y, it’s the same thing.