Your robot understands time in milliseconds or "ticks." 1 second = 1000 ticks.
You may want to tell your robot to move for a few ticks, then change direction. To explain this to a person you might say: "if it's been ten seconds, turn left."
In code, this is called an if() statement. The robot will obey the command "if" certain conditions have been met. Try it before a simple command like go():
if(ticks == 0) go()
This makes the robot go immediately. In the example below, the robot has to wait 3 seconds (3000 ticks) before moving in order to catch the ball. What code should you type?