This command will wait until there is at least one keypress in the keyboard input queue. If there are keys already in the queue, then the command will return immediately.
You can use this command to wait until the user presses a key, by emptying the keyboard queue with Clear Keyboard and then waiting until a new key is pressed. Eg: