Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to temporary disable mouse camera movement?

I made a focus script but the camera has some kind of problem when I move the mouse.

Video:https://vimeo.com/721938495

I am looking for a way to disable the mouse while the shift button is pressed but cant find seem to find a way

2 comments

0

maybe make the camera type scriptable until they let go of shift?

0

Scriptable doesn't follow the player which is needed for the focus

1 answer

Found it. the function i was searching for was UserInputService.Mouse.MouseBehavior = Enum.MouseBehavior.LockCurrentPosition

This discussion is preserved as it was. New answers, comments, and votes are closed.