Skip to main content
Leandro_Henflen1
New Member
December 6, 2024
Question

Variables: how to use conditional for more than 1 operator

  • December 6, 2024
  • 1 reply
  • 28 views

I need to build a conditional like the following:

if {variable ABC} > 0 and < 5
   set {variable X} false
   set {variable Y} false
   set {variable Z} true
else

{variable ABC} is a number variable

When I try to setup this conditional it won’t allow me to use those options.

Thanks,
Leandro

This topic has been closed for replies.

1 reply

tank666
December 6, 2024
if (ABC > 0 and ABC < 5) {
  Set…
}
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank