Forum Discussion
State naming rule for toggle switch?
Hello everyone.
I am currently creating a Toggle Switch as part of the SWBT elements. I have referred to several contents with the keyword "Toggle Switch," but I found that the switch does not activate unless the state has a specific name, which prevents the toggle from functioning. Is it necessary to use pre-defined state names when creating a Toggle Switch?
I put my sample, here. Rectange4 can toggle, but recange2 does not.
Could anyone provide some advice?
I appreciate any advice you can give.
Thank you.
- PhilMayorSuper Hero
rectangle four has a selected state which is why it toggles, rectangle 2 does not so would either need a selected state or to have triples to control the toggle
- HidekiShibaCommunity Member
Thank you, Phil-san,
We need to use built-in state name like "selected". Any state does not toggle if the state has the other name. Am I right?
Thank you.
- PhilMayorSuper Hero
The only state that automatically toggles is the selected state as long as it isn't in a button set. Any other state can be made to toggle using triggers
- HidekiShibaCommunity Member
I understood, thank you.
- JudyNolletSuper Hero
Hideki-san, you might find this post helpful. It explains the built-in states, and it also links to a project in Review 360 that demonstrates how the states work.