Just click the green flag. The way this works is the AI shoots out 20 beams in a 180 degree range. Each beam records how far it travels and the AI chooses the longest line to travel along.