I'm trying to make a third person shooter, I don't know how to make a script for turning on shift lock but if you know please tell me how!
COMMUNITY QUESTION
How to make a script that turns on and off Shift Lock?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

9 comments
If you locate the CameraModule script, copy it then paste it back into its original location relative to Studio containers. Locate the :Update() method and insert the following line:
self.activeCameraCantroller:SetIsMouseLocked(true)
which line should I put it in?
and where, also will I be able to control it from another script?
you should make it a module for that, but just using it in one script will work
@epicnt where do I write that line?
And please write a full script and answer please!
@NathanTheCraziest This is not a request site! We won't write a full script for you.
no, sorry, i mean just the parts for the parts where we turn on the mouse lock?