I made this to solve the problem of rotating a sprite in the optimal direction to look at something. I also made it so it won't go wild when it is looking directly at the thing it is trying to look at. The circle spins toward the mouse automatically.