Is there any way to set the position of the mouse?
Mouse.X = VALUE
Does not work because Mouse.X is readonly
Is there any way to set the position of the mouse?
Mouse.X = VALUE
Does not work because Mouse.X is readonly
You can't
There's a good reason that Roblox doesn't allow you to control user input. Your only real option is to lock the mouse where it is.
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
You would need to create a pseudo mouse cursor and update it's position when the mouse is moved. This could end up being very confusing for the operator though, especially if they were to accidently move thier mouse out of the window while the pseduo mouse was not near any edge of the window.
Why would you want to do this?
Well you COULD find the person's house and force them to move their arm.... but that could get time consuming.
You could center their mouse by changing their camera to first person and back. That's all you can do without creating your oen pseudo mouse