Exercice : Mini Challenge

Mini Challenge 1: Obstacle Detecting Move Until Black Line

Change the Switch's mode to Color Sensor --> Color, and select Black as the color to detect.

Question

Program the robot to complete this challenge.

Indice

Hint 1: There is a Sensor set in the Switch, and one set in the Loop. Which one controls the "end of behavior"?