key_down

Client

Check if an input is currently pressed.

input.key_down(keyname --[[ string ]])
input.key_down(keycode --[[ integer ]])

Key codes/names list available here.

Last updated