Hello again. I have the following code:
button1.states.add off: opacity: 0 on: opacity: 1
My print statement reads "0". ??? If I just switched to on why am I not seeing "1"?
The code is written exactly as shown above with no errors .
Thx in advance!
The animation has probably not finished before the print line runs. Try using a delay or an event listener to make it wait.
Do you have a suggestion of how to apply that delay? I'm not sure where to put it.
Cool thx man
Yes I've played with switchInstant as well since the default animation seems to be about .5 seconds. Perhaps I missed something so I'll give it another try.