loop
These commands will define a loop that will repeat indefinitely. You are able to break from the loop at any time by using the exit command.
do if GetPointerPressed ( ) = 1 exit endif loop