while condition
These commands will define a loop that will repeat while the condition is true. Unlike the repeat command, the while command ensures the condition is true before entering the loop. You are able to break from the loop at any time by using the exit command.
while GetPointerPressed ( ) = 0 Print ( "touch or click the screen to continue" ) endwhile