Hello! I'm trying to do something like this:
By default, the gate is closed.
When you stand on the button, the gate opens.
If you're not standing on the button, the gate closes.
I've tried doing something like the stomping enemy mechanic, but it does not seen to work (I guess because "on collision with" is different from "stand on").
Any ideas? Thanks in advance.