I want to make the mouse kind of like war thunder (mouse rest in centre of screen) when I’m in a Vehicle Seat. How would I go about doing this?
https://developer.roblox.com/en-us/api-reference/property/UserInputService/MouseBehavior
try
game:GetService('UserInputService').MouseBehavior = Enum.MouseBehavior.LockCenter
to lock it in the center
and
game:GetService('UserInputService').MouseBehavior = Enum.MouseBehavior.Default
to unlock it
Also make sure the current camera is set to scriptable or else game:GetService('UserInputService').MouseBehavior
won’t work