Hi. I want to make a fridge, that is by default closed, but when you click on it (with the mouse object) it opens, and if you click on it again, it closes.
So what I did was:
1-Added the "mouse object".
2-Added a sprite ("Fridge") and made 2 animations, both with only 1 frame: One when it is opened and one when it is closed.
3-Added the following events:
+ Mouse: On Left button Clicked on Fridge
+ Fridge: Is animation "Closed" playing
-> Fridge: Set animation to "Opened" (play from beginning)
+ Mouse: On Left button Clicked on Fridge
+ Fridge: Is animation "Opened" playing
-> Fridge: Set animation to "Closed" (play from beginning)
But when I click on it, nothing happens. It just continues to show the default (closed) animation.
Can anyone help me and tell me why it's not working?
(For moderator: Sorry, I meant to post it to Construct 3 help, not Construct 2)