Get a "glide 1 secs to random position" block from the dark blue "Motion" tab, and add it to the code after the "wait 1 seconds" block. Then change 'random position' to the first colored circle you want the car to drive to, in this case you want to pick "Red".
Once the robot car has reached the colored circle that is closest the animals habitat it still needs one more instruction to take the animal home. In this case, the colored circle closest to the Underwater habitat is Lime Green.
Add a "glide 1 seconds to random position" block, and change 'random position' to "Underwater".
Test out your finished instructions! When the car touches the Underwater habitat it sends a signal to the next car that it is finished so it can start driving the next animal home.
You will know your code works if your car does not get sent back to the beginning and if the next car appears at the start after this one has reached the correct habitat.
Provide your email address for immediate project access