Click green flag and use the mouse. Press space to change the colour of the trail. If you want to end the trail type "the end"
I used some scripts from other projects on the Mouse Trails studio, but it was mainly my work.