How do I disable the < and > functions

I’ve been trying to disable Roblox’s incremental camera movement when you click , and . (also can be shown as < and >). I just need some help finding out how to disable it

  • So Basically I think its a Roblox function but when you click < or > on your keyboard Roblox incrementally moves your camera as shown in the video

  • I’ve tried looking around for how to disable this but can’t find anything.

  • Is there a way to disable this?

https://streamable.com/g38x9w (Video)

You can overwrite the actions by using ContextActionService and calling BindAction. E.g. put this in a LocalScript inside StarterPlayer.StarterCharacterScripts

local ActionS = game:GetService("ContextActionService")
local bindString = "OverwriteLessThanGreaterThanCameraControls"
local function doNothing()
end
ActionS:BindAction(bindString, doNothing, false, Enum.KeyCode.LessThan, Enum.KeyCode.GreaterThan)

If you also want to disable I and O to zoom out, add e.g. Enum.KeyCode.I to the comma-separated list of keycodes to the argument list of the BindAction call.

1 Like

You can unbind the Camera buttons buttons by removing action binded to “RbxCameraKeypress” action:

game:GetService("ContextActionService"):UnbindAction("RbxCameraKeypress")

@ThanksRoBama’s solution also works but this is cleaner.

1 Like

Didn’t work.

Didn’t work.

1 Like

This is like @ThanksRoBama 's solution, with a tiny change:

local ActionS = game:GetService("ContextActionService")
local bindString = "OverwriteLessThanGreaterThanCameraControls"
local function doNothing()
end
ActionS:BindActionAtPriority(bindString, doNothing, false, Enum.KeyCode.LessThan, Enum.KeyCode.GreaterThan)

It uses BindActionAtPriority

1 Like

This doesn’t work either :pensive: