I am trying to use blocks to reset a number of buttons back to their original states.
The user clicks on a button and the background color changes to orange. If they click on the same button again it returns to the original color blue. This works so far. My problem is detecting if all of the buttons have been pressed and displaying orange. IF they are all orange I want to make a reset button visibility set to True. I have attached a screen shot of my Blocks for you to look at. At the moment there are only 2 buttons but I plan to have up to 10 buttons so I suppose I would have to use a For Loop to revert to original color as well as checking to see if they are all orange? Any nudge in the right direction there would be appreciated.
As always, thanks in anticipations