How do I make something happen when all objects are clicked


I am trying to make a game where you have to click four balls in order for something to happen. Does anyone know how to do this?


Hi @Marco_Gonterman,

Here is a discussion that may help you.


Thank you. However I am trying to do it in Java.