How to stop arrow keys from interfering with camera?

I have a custom camera system in my game. It works perfectly fine aside from the fact that the arrow keys cause the camera to start twitching.

Video:


Is there a way to disable the arrow keys from moving the camera? My game doesn’t require the need for this functionality.

1 Like

You can use ContextActionService:UnbindAction("RbxCameraKeypress") in a LocalScript, although that will also unbind the I/O keys that zoom the camera in/out.

If you don’t want to unbind the I/O keys, then you can fork the PlayerModule and comment out lines 448 and 449 in PlayerModule.CameraModule.CameraInput.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.