Hey There!
The showit
variable is not part of the PImage ! It is a standalone as a global but it isn’t part of the PImage. change the code to
void keyPressed() {
if (key == 'A') {
showit = true;
}
}
Hey There!
The showit
variable is not part of the PImage ! It is a standalone as a global but it isn’t part of the PImage. change the code to
void keyPressed() {
if (key == 'A') {
showit = true;
}
}