When click a same instance the selected will hidden

Where is the the project, which had four peas and 1 disappeared when it was clicked… alguém sabe?

I don’t know where that project is, but to make something disappear when clicked:

Conditions: 

-Cursor is on "name_of_sprite" 
-Button Left is pressed 

Actions: 

Hide the object "name_of_sprite"

Or did you want to know how to do something else?

But he hide all four peas, and not the unique one what is selected

EDIT:

Solved, but a bit more complex than the example I remember. If anyone wants the code used just ask me.