Skip to main content
Solved

How do I set multiple variables on click

  • May 27, 2024
  • 1 reply
  • 212 views

Hi, I’m trying to set multiple variables on the same trigger. Is that not possible or is this a bug?
This is what my on click action looks like, and for some reason only the last Set variable is working. I have even tried to switch them and it is always the last one who is working.

Best answer by Vishal_Ramawat

Try moving down the “Navigate To”. Figma goes sequentially, so Navigation triggers first.
So, you set the variables and then Navigate away.

View original
This topic has been closed for comments

1 reply

Vishal_Ramawat

Try moving down the “Navigate To”. Figma goes sequentially, so Navigation triggers first.
So, you set the variables and then Navigate away.


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