The Sea Turtle is built from the Lego Spike Prime educational kit. The color sensor detects some objects, and depends on appropriate color the sea turtle move forward, or stop.
The set includes step-by-step building instruction and an example of program (in Spike environment)