key_disable

Client

Disable/enable a specific key.

input.key_disable(keyname --[[ string ]], disabled --[[ boolean ]])
input.key_disable(keycode --[[ integer ]], disabled --[[ boolean ]])

This function doesn't need to be called every frame.

Last updated