I have tried doing it but to no avail. (Its not even worth showing what i tried because it doesnt work and makes no sense in the first place)
✓ ANSWER ACCEPTED
How do i freeze the mouses position?
1 answer
✓ Accepted answer
The mouse is read-only, meaning that you cannot write any data to it. For instance: you can't tell the mouse to move to a certain position on the screen. The only properties I know of that you can change is the appearance, as well as the TargetFilter.
Read here for more info! https://wiki.roblox.com/index.php?title=API:Class/Mouse
1 comment
0
Or mouse lock
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
you can try to use the mouse lock
Mouse lock as in the ingame feature in settings or on studio coding?
i found something called LockCurrentPosition but have no idea on how to use it http://wiki.roblox.com/index.php?title=API:Enum/MouseBehavior