Seems like a simple question to answer, but I'm not understanding why my code is doing this...
The only difference in the code below is:
- in the 1st, it's comparing Sprite.UID > 1 (true for all 3 Sprites)
- in the 2nd, it's comparing Sprite.UID > 2 (true for 2 of 3 Sprites)
I would have thought that if it was true for ANY Sprite, the action block would execute. But it appears that the event 2 condition returns true (subsequently setting the 'result' and 'counter' variables) ONLY when the condition is true for ALL Sprites.
Can someone clarify why it works this way?
Thanks