Issues with Figma Prototypes: Variable-Linked Text Not Updating and Conditional Logic Limitations

I’m encountering a couple of issues in Figma when working with variables and component states:

  1. Variable-Linked Text Not Updating:
    I created a string variable with two modes: “Value 1” and “Value 2.” I then linked this variable to a text element so that the text updates based on the variable’s value. I also created an action with two states. In the default state, clicking on the component sets the string variable to “Value 1.” In the second state, clicking sets the string variable to "Value 2."When I play the prototype, the text linked to the variable updates correctly after the first click. However, after that initial interaction, further clicks don’t change the text as expected. The variable’s value seems to stop updating. I tried starting the prototype twice—once with the action in the default state and once with the action in the second state—but encountered the same issue both times.
  2. Conditional Logic Limitations (If-Else):
    I want to change the state of a component automatically based on a variable’s value, without needing a manual trigger each time. However, it seems that Figma doesn’t allow conditional logic (if-else) without a trigger. Even when I tried using a delay trigger to check the variable, it only evaluated the variable based on its initial state and didn’t continue checking or updating as the variable changed.

Is there a way to resolve these issues? Specifically, how can I ensure that the text linked to a variable continues to update with each interaction, and is there a method to implement conditional logic that automatically changes a component’s state based on a variable?

Any advice or solutions would be greatly appreciated! Thanks!