Since you can read the mouse x and y but not change them, what method can you to change them?
There is no way to actually set the position of the players mouse.
The only thing I can think of that you may or may not actually mean is:
1)Setting mouse as Locked in the center
2)if you actually want to check the mouse position there are ways to do this:
a)Mouse.Target:
1 | if mouse.Target = workspace.Part then |
2 |
3 | end |
b)Mouse.Hit:
1 | Mouse.Hit.p |
2 | Mouse.Hit.X |
3 | Mouse.Hit.X.p |
4 | Mouse.Hit.Y |
5 | Mouse.Hit.Y.p |
6 | Mouse.Hit.Z |
7 | Mouse.Hit.Z.p |