Press 1 for yellow, 2 for light blue, 3 for orange, 4 for red, 5 for green, and 6 for white. Press space to use the eraser. Click c to clear.
I added 2 more colors, a costume for the eraser, and a variable for changing the width of the pen.