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:


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


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


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