Skip to main content
Question

Set value on variable in overlay does work for conditionals

  • November 9, 2023
  • 1 reply
  • 281 views

Bartek8

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?
This topic has been closed for replies.

1 reply

Haroll
  • Power Member
  • November 9, 2023

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