Hide two sprites with one keypress

I have two different sprites that are buttons. Once one is pressed, it disappears, cause it's a game I'm making based on user's choices. Is there a way to get both sprites to disappear at the same time? Like if I click one, the one I click disappears as well as the other sprite

Here is one way you can do it:
untitled script pic (1)
(Then in the button2's script, put "button1" instead of "button2")

You can also do it using broadcasts:
untitled script pic (1)

untitled script pic (1)
You put both scripts in both sprites.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.