How to change parent variant on checkbox/switch?

Hi folks!

I cannot find a way to switch variant on checkbox/switch change.

Any ideas?

Answering to myself.

I managed to do this via Variables.

  • make both variant switching prop and the checkbox switcher prop of the bool type
  • create a so called “LocalVariable” of the type bool too
  • connect the instance variant prop and checkbox switcher prop to the created local variable

Details are in this video that I recorded today:

1 Like