I can't see any solution to this using GetKey() alone GA. It's the wrong way to do it tbh.
Here's how I would do it...
Note: It doesn't check for the arrow keys, same as your example.
Here's how I would do it...
Graphics 640,480,0,2 WaitForKeyOrMouse() Text 0,0,"1st Press" Flip WaitForKeyOrMouse() Text 0,40,"2nd Press" Flip Delay 2000 Function WaitForKeyOrMouse() FlushKeys() FlushMouse() Local CheckKey=0 While CheckKey=0 And GetMouse()=0 For Count=1 To 88 CheckKey=CheckKey+KeyDown(Count) Next Wend End Function
Note: It doesn't check for the arrow keys, same as your example.