So I have a top down game that uses the mouse cursor most of the time however if you hold right click it rotates the camera and hides the cursor.
The issue is while the cursor is hidden it is still moving on the screen. I’d like for it to stay in the same spot while rotating view with mouse otherwise every time you rotate you hit the edge of the screen.