Switching boolean attribute on/off not working - why?

DigiChainDigiChain Member, PRO Posts: 1,288
edited November -1 in Working with GS (Mac)
I keep coming across small problems like this - and its obviously down to how GS works, but again I'm stuck...

I've created a attribute called FLIP

I have a button in my scene and it has these 2 rules:
Rule1:
When actor receives event - touch is pressed
AND Attribute Flipped = TRUE
> Change attribute - Flipped to FALSE

Rule 2:
When actor receives event - touch is pressed
AND Attribute Flipped = FALSE
> Change attribute - Flipped to TRUE

It doesn't work. It'll work if I only have one of the rules, but then can't be changed back. They obviously counteract each other somehow - but I don't see how.

How can I do this?

Comments

Sign In or Register to comment.