Steven from this forum made a cap for me.
In it he made a "switch" with a global variable.
But very efficient.
If pressed 'm'
set variable to 1 - variable
I always did:
if variable = 0 and 'm' is pressed (...)
if variable = 1 and 'm' is pressed (...)
I like how efficient this is and I'm sad I did not come up with this myself.
What is my point? I hope someone can comment on this, in any way.
For example: is this new for you?