Check out the original project ↑ If the pen is touching the purple tool section, it will not draw and if you want to change the color, then you have to pause. it will not delete your work. if you want to erase all, then stop and press Start Over.
Thanks to percyjackson311 for the original project Paint 1.1, All I've done is add more colors and smoothed out some glitches. Please Like and Star.