Ad
Log in to vote
0

How to temporary disable mouse camera movement?

Asked by 15 days ago
Edited 15 days ago

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

0
maybe make the camera type scriptable until they let go of shift? cmgtotalyawesome 1403 — 15d
0
Scriptable doesn't follow the player which is needed for the focus VAnkata20 49 — 15d

1 answer

Log in to vote
0
Answered by 14 days ago

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

Ad

Answer this question