Set value on variable in overlay does work for conditionals

I have a prototype where a button inside a overlay triggers:

  • overlay swap
  • set variable to “1”
    then i set up a conditional
  • if variable set to 1: swap overlay to “A”
  • if else: swap overlay to “B”
    But it does not work, anyone had similar issue?

Hi @Bartek8

Would it be possible for you to develop on what’s not working as it’s not clear at the moment. Also could you share a screenshot of the interaction modal please?

Though it seems that your condition if variable set to 1 is not necessary since you always set the variable to 1, it will never swap to overlay B