Let's say we want a robot in a game to walk across the screen and stop at the edge ... If the answer is no, then the program carries on around the loop and little robot takes another step.