Skip to main content

Fix the Conditional interactions

  • November 7, 2024
  • 1 reply
  • 20 views

Luciano

Conditional interactions are half broken at the moment.

For example, all I want is to create a switch for light / dark mode for my prototype. We already have the “Set variable mode” action, but I cannot use it inside a Conditional if/else.

All we need is to be able to do something like:

if library/mode == Dark
   Set variable mode == Light
else
   Set variable mode == Dark

There’s also no else if(); while not a deal breaker, it would save time instead of adding another set of if/else (plus the bugs that come with it).

Or we could have a switch action to switch between 2 states / values / modes, that would be great to use on switch components and require way less fidgeting with actions.

1 reply

Jordan McCaffrey

Yeah, I ran into the same issue trying to toggle themes on Tele latino pro ended up using a messy workaround with multiple ifs.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings