Press the flag to start the program Press space to get the eraser to erase the lines in order from last line drawn to the first line drawn.
The eraser was kind of a pain to make, and it still isn't exactly how I wanted it, but it's ok.