Hey.. i know of pressed_key and key_down to detect when a certain key is pressed,
but i need to detect when a certain key is lifted up, something like
....random code in loop
wait 0
if
key_down <keycode number>
then
0ACD: show_text_highpriority "You are pressing the key" time 1000
wait 1000
end
if
key_up <keycode number>
then
0ACD: show_text_highpriority "You stopped pressing the key" time 1000
end
...jump to looop
I'd like to know the key_up opcode..
but i need to detect when a certain key is lifted up, something like
....random code in loop
wait 0
if
key_down <keycode number>
then
0ACD: show_text_highpriority "You are pressing the key" time 1000
wait 1000
end
if
key_up <keycode number>
then
0ACD: show_text_highpriority "You stopped pressing the key" time 1000
end
...jump to looop
I'd like to know the key_up opcode..