Event id for key up events. Calls the KeyUpCallback.
-- Create a functionlocal keyUp = function(keyCode) osrs.print("Key Up: " .. tostring(keyCode))end-- Subscribe to the functionosrs.Events.subscribe(keyUp, osrs.Events.KEY_UP) Copy
-- Create a functionlocal keyUp = function(keyCode) osrs.print("Key Up: " .. tostring(keyCode))end-- Subscribe to the functionosrs.Events.subscribe(keyUp, osrs.Events.KEY_UP)
Event id for key up events. Calls the KeyUpCallback.
Example