I’m trying to find a way to disable the keys: i,o (zoom in and out), keys left and right (that turns the camera left to right) without editing the camera module script.
Anyone knows a better and easy way?
I’m trying to find a way to disable the keys: i,o (zoom in and out), keys left and right (that turns the camera left to right) without editing the camera module script.
Anyone knows a better and easy way?
From what I know, it is not possible to make it easier unless changing it in the camera module, it isn’t that hard either. Just copy paste the PlayerModule in StarterPlayerScript and press CRTL + SHIFT + F and search for KeyCode.I (or any other KeyCode), then comment (or delete) the KeyCodes
Try binding them to a null function in ContextActionService
Works 10/10 on my machine
local ContextActionService = game:GetService("ContextActionService")
ContextActionService:UnbindAction("RbxCameraKeypress")
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.