Trying to click on an object to play an animation (to test my animation). I've added them to a family and have family instance variable set to false. I check
EVENT:
Mouse | On Left Button Clicked on TokenFamily
TokenFamily | Check instance boolean (Not)IsFlipped
Action:
Then play animation to flip the item, set TokenFamily.IsFlipped to true
EVENT:
Mouse | On Left Button Clicked on TokenFamily
TokenFamily | Check instance boolean IsFlipped
Action:
Then play animation to reverse flip the item, set TokenFamily.IsFlipped to false
For testing, there is a single instance for the family on screen at the moment, but for some reason it's never setting the IsFlipped correctly true/false and is just always playing the same "unflip" animation.
I looked at an old C2 file I had worked on before and it seems I've coded it correctly, but very odd.
No capx I can share unfortunately. So hopefully something is jumping out.