I want the object to appear and disappear by pressing the same button.
How can I do this?
1 Like
You did not match his solution (you’re missing some actions from MrMen’s screenshot), but generally I would recommend you learn about toggles via variables in general, here’s some details:
https://wiki.gdevelop.io/gdevelop5/tutorials/how-to-make-togglable-states-with-variables
1 Like
Thanks. Before I didn’t know anything about subevents. You did really help me.