Maybe it is a stupid question. But here is my problem.
I want to make an active state of a button. I use a 9slice and give it different instance variables.
Now I can activate one. But I don´t know how to deactivate and is there a better (means easier) way to do it?
I find it a bit difficult because i can't address the object with the id directly, or is that possible somehow?
And here is the project file:
https://www.dropbox.com/s/p82ggpmu0kqo87w/tiledmap_210531.c3p?dl=0
Thanks in advance.