Skip to main content
Thomas_Nabelek
New Member
February 27, 2024

Use inverse of Boolean variable to show/hide layer

  • February 27, 2024
  • 53 replies
  • 6314 views

This has been mentioned here:

I am looking for the availability to HIDE a layer when a Boolean variable is TRUE and SHOW it when it is FALSE. So, the inverse of the default/current behavior. I want to do this without using components.

Use case: When a variable is true, show one frame. When that same variable is false, show a different frame.

I can get basically this by using two different variables:


but it would be more convenient to be able to do it with just one. Just give me a Boolean toggle when the variable is used to say if the variable should be inverted or not.

53 replies

AndrinS
New Member
July 21, 2026

+1

Tascha
Active Member
September 8, 2026

We need this PLEASE 🙏

AndresG09
New Member
September 14, 2026

Two years later and we still dont have this functionality. Figma could improve a lot its prototyping capacity by integrating conditional rendering based on booleans. Currently everytime im working on a prototype that needs conditional rendering i have to duplicate a single boolean so that each one affects one layer by its own, and it is a real headache that makes us work slower.