Client
Check if an input has just been released.
input.key_just_released(keyname --[[ string ]])
input.key_just_released(keycode --[[ integer ]])
Using a keyname:
if input.key_just_released("F2") then print("F2 has just been released!") end
Using a keycode:
if input.key_just_released(60) then print("F2 has just been released!") end
Key codes/names list available here.
Last updated 3 months ago