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
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
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.
2 comments
maybe make the camera type scriptable until they let go of shift?
Scriptable doesn't follow the player which is needed for the focus