⌨️ Add this code to the end of keyPressed()
if(key == 3) {
brush = 3;
}
‣
When you run the code and press 3, our new brush should be working!
keyPressed()
if(key == 3) {
brush = 3;
}
When you run the code and press 3, our new brush should be working!