Making a Button Component Reappear

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Windows 10
PsychoPy version (e.g. 1.84.x): 2022.2.4
Standard Standalone? (y/n) If not then what?: yes
**What are you trying to achieve?: Press button 1 makes button 2 appear and button 1 disappear. Pressing button 2 makes button 1 reappear and button 2 disappear.

**What did you try to make it work?: I was able to change the opacity of polygons covering the buttons to making them appear and disappear. This worked, excepted if the mouse was used in those locations before they appeared, the buttons were still triggered.

I also attempted to use conditional start and conditional stop to make the buttons appear and reappear. This method did not work.

**What specifically went wrong when you tried that?: Pressing the Finished button got the question text, yes button, and no button to appear by changing Appear from False to True. It also got the Finished button to disappear by changing Gone from False to True. Pressing the yes button got question, yes, and no buttons to disappear. But the Finished button will not reappear.

Tried this with if statements using mouse.isPressedIn and another time using the callback function in the button components.

See images below for Finished and Yes button settings plus code

buttons