I want to create a button and a container, such that each time I click the button the visibility of the container toggles between true (visible) and false (invisible).
I’ve learned how to wrap the container in a visibility wrapper, and to create a local variable for the visibility of the container.
I’ve learned how to create an icon button, and open the circuit diagram for its “on tap” event.
I can add to the circuit an if/then step.
But I can’t figure out how to test or set the visibility of the container within the circuit.
How can this be done?