Is there a way to check specifically if a key has been released? Or would you just use a conditional branch to check if it's been pressed and then do stuff in the "Else" part of it?Basically a series of conditional branches with waits, switches and variables for controlling.
The conditional branch checks if a key is pressed, but then you'll have to check if it is released again before counting - that is where you need to use switches and different nested conditional branches.
◆Control Switches:#0001 ButtonDown = OFF
◆Control Variables:#0004 Input = 0
◆Loop
◆If:ButtonDown is ON
◆If:Button [OK] is pressed down
◆Comment:Nothing.
◆
:Else
◆Comment:Button was pressed and released!
◆Control Switches:#0001 ButtonDown = OFF
◆Control Variables:#0004 Input += 1
◆
:End
◆
:Else
◆If:Button [OK] is pressed down
◆Comment:Button is now pressed down!
◆Control Switches:#0001 ButtonDown = ON
◆
:End
◆
:End
◆If:Input = 10
◆Break Loop
◆
:Else
◆Wait:1 frame
◆
:End
◆
:Repeat Above
◆Text:None, Window, Bottom
: :You escaped! \.Congratulations!
