You might be looking for Panel:SetKeyboardInputEnabled (lowercase
board), which has the same name but isn't deprecated.
We advise against using this. It may be changed or removed in a future update. Alias of Panel:SetKeyboardInputEnabled
Enables or disables the keyboard input for the panel.
1 boolean keyboardInput
Whether to enable or disable keyboard input.