3 conditional actions for a single button not working out

Could use some feedback on a conditional action that is not working. I have a button that I am trying to have 3 actions on it. The button is supposed to show widgetOne if it is hidden, if widgetOne is visible then show widgetTwo, if widgetOne, widgetTwo is visible then show widgetThree. But what is happening when I click the button is all three widgets appear at once. The logic I used is:
#10
If visibility of widgetOne equals false
Show/Hide
Show widgetOne
#20
If visibility of widgetOne equals true and visibility of widgetTwo equals false
Show/Hide
Show widgetTwo
#30
If visibility of widgetOne equals true and visibility of widgetTwo equals true and visibility of widgetThree equals false
Show/Hide
Show widgetThree

All widgets are hidden to start. So one by one each widget appears when the button is pressed. But thats not whats happening.

never mind, it turns out to be a lot more difficult than its worth. So I found a work around that does work.

Change the “IF” to “ELSE IF” for all but the first condition, and the logic you show should work.