I have tried to learn the program myself as best as possible without asking any help. But now I have run into a same problem so many times that I really need to ask some.
So the problem is very simple actually:
I would like to know how to, for example turn something on and off with a same command. For example when pressin "escape", "pause menu" is set to "visible". And when pressing "escape" again, it's set to "invisible".
I made this simple example file if someone is kind enough to show how it works:
So in this example file there is a blue box. Now when You press a "Enter" the blue box is set to visible. So what I wold like to happen is when You press "Enter" again, the blue box is set to "invisible".
And so that this keeps on going everytime when pressin "Enter", like in a "pause menu" case.