According to the status of the "switch"; Let HorizantArrangements appear automatically

According to the status of the "switch"; Let HorizantArrangements appear automatically. I couldn't do it without pressing the button. can you help

dugme.aia (3.3 KB)

I'm just learning. I'm sure there is a more practical way. That's what I did to the best of my knowledge.

Same as the Switches, you need make a list of all HorizontalArrangement.

found out which switch is ON, and get it's index in the list, then set the HorizontalArrangement with same index visible, others invisible.

Well, wouldn't it be like I said without making a list? automatically.

Will it be automatic when I do this? I'm a novice at this. I'm thinking of doing it myself. But I can not. Can you help me.

It's same with the Switches, if you understand how to on/off the switch, you will know how to make arrangement visibile/invisible.

i found a solution check it when the app is opened. and let it check when the key changed. my solution worked. But is there a more practical way? You mentioned the list method. Can you show the list method?

Like so ?