Topic 4 - Rubbing Out Trails and Changing ColourSometimes you want to rub out or erase the last trail.
To Change the colour of the turtle's line type SetPenColour n, where n is the number of the colour you want to use in the range 1-128.
The short form is setpc n. Note that the turtle changes colour too.
To rub out the previous line type PenErase and then move forward or back by the amount required.
To stop rubbing out type pd (PenDown).

To change the background colour type Setbg n, where n is a number in the range 1-128.