Expression Based Variables

I’d like to be able to enter equations referencing other existing variables as the value of another variable.


x = y * 100

You’re able to set variables with expressions with an interaction, but having the variable with that information built in isn’t currently possible as far as I’m able to tell. Anytime I reference another variable I can’t add anything else to it without breaking the link.


I agree this would be great!

1 Like

Absolutely needed. Designing fully a scalable UI isn’t really possible so developers need to come up with their own ratios. This has lead to many implementations that aren’t exactly according to spec.
If you could just say that, e.g., an element width is 40% of the frame width, which can now thankfully be from a variable, you can just design the spec into the plan directly.

1 Like

Duplicate of Using expression as a variable's value ?

Let’s centralize the upvotes.

1 Like

Thanks! it got added to that thread on one of the comments and I upvoted that thread.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.