Advance prototyping

Hello ! Everyone can say I can use two types of variables in prototyping for my file. The issue is that I created a variable to take an input as a text from the user but if the input length reaches or equal to 10 letters the button colour should change. is it available to do this in figma with help of variables and if/else prototyping.**

You can use 4 types of variables.

It’s possible. Write such a condition and set a new value for the color variable.

i have tried it, can you help to write the condition for this

if (numberVar >= 10) {
  Set variable Color to #HEX
}
1 Like