Skip to main content
Answer

How do I set multiple variables on click

  • May 27, 2024
  • 1 reply
  • 459 views

Marcus_Friberg

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.

This topic has been closed for replies.

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.