01
Learn how to use the Colour Sensor.
02
Plug the Motor into Port A.
Plug the Colour Sensor into Port B.
03 - Ghost program

Create the program that makes the Motor turn.
04

Press play to run the program.
05
Hold a red brick in front of the Colour Sensor. Watch the Motor turn.
06

Change the colour on the coding block from red to yellow. The Colour Sensor will now react to a yellow brick.
07
Press play and use a yellow brick to test the Colour Sensor.