mousePressed() function

showCircle cannot be resolved to a variable

As I said above, please don’t post broken code like this – especially in Beginners threads.

You are also posting p5 Java answers on a p5.js question thread – you can do that, but again please mark it to not confuse people.