You must follow the color pattern on each obstacle to cross it. Be carful not to pass through the wrong color, or you'll have to start all over again.