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.

HI, any news on this one? I have the same issue in my class.

@P_DDL , click and read the discussion Nikolay posted to find out how.

Geoff @ TechLeap