To change colours press numbers from 1-9 To use the rubber press 0 and use pen as usual To remove all pen just simply shake the device you are using or wave your hand multiple times infront of the camera
Just to say if you are playing this on your phone it may rub out everything as you draw because a phone is a handheld device and could make the sensor freak out if you wish to use the shaking and waving feature or copy some of the code i used by looking in the project please give me credit unless you remix it