So I am wondering how to change a players mouse position when a function is called and it doesn't seem to work. I've tried this myself and looked on the developer.roblox.com articles about this and haven't found anything. I guessed it would be something like this but it doesn't work. Anyone have any guesses?
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
script.Parent.MouseEnter:Connect(function()
mouse.Position = Vector2.new(0,0)
end)

4 comments
make a custom mouse
wut
You can't move the player's mouse from a script, mouse.Position is a read-only property.
would be cool if roblox made it customizable, would look awesome for creating horror effects.