Forum Discussion
Variables quiz
Thanks Joe,
I had tried this way but it doesn't work... I don't understand why
Hello Elisa,
I took a closer look at your file and saw some conflicting triggers that would prevent the solution that I shared from working. It appears that you have triggers setup that would initially set the rectangles in your slide to their 'Flipped' state before changing them immediately to their 'Disabled' state.
Additionally, you also have triggers in your 'Correct' and 'Incorrect' layers that change the states of the rectangles.
You can try using True/False variables for each of the 20 rectangles as a way to track if they have been flipped or not, but this will require you to create a True/False variable for each of the rectangles. Example:
I'd recommend testing to see which one of the solutions will work best for you, but ultimately, the main goal would be to add a way to track if all the Rectangles in the slide have been changed to their 'Flipped' state without any other triggers changing the states to something else.