key_just_pressed

Client

Check if an input has just been pressed once.

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

Key codes/names list available here.

Last updated