Cursor Position Questions

What exactly does this do?
Cursor.lockState = CursorLockMode.Locked;

I understand what it does in it’s most shallow form. I don’t understand why the cursor can be moved to the center of the screen by Unity but can’t be moved to any desired screen point by doing exactly the same thing.

What is the difference between “center of screen” and “point x,y”?
Is this something that could be added to Unity at a later date or is it strictly hardware based?

So I do believe this is now supported in the new Input System:
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.0/manual/Mouse.html#cursor-warping

1 Like

That is awesome! Thanks for the info. I had yet to checkout the new Input System.