This activity has been adapted from one for Squeak EToys from 'Powerful Ideas in the Classroom' by BJ Allen-Conn and Kim Rose.

Start by creating a car sprite (top down view) like this:

Make sure that you put yellow headlights at the front.  The car will use these to find the road.

Draw yourself a windy road on the stage.  (Double click on the Stage, choose the Backgrounds tab, and click Edit.)

It should now look something like this:

Make sure that your road is a different colour to the car and the headlights.

Now create this script for the car:

Can you work out why this script works?

Will it work for all roads you create? 

You can download a finished version here.