Skip to main content



all nested props are on 👆




one of the nested props is off 👆


I have noticed that when a variant contains nested exposedInstances instances, and you switch off one of them, exposedInstances returns an error. However, I believe that this shouldn’t be the case, as Figma allows this action. Instead, it should simply remove the switched-off instance from the array or add a specific property, such as unchecked. Am I missing something here?

I found what cause that. I had a line to skip invisible layers:


figma.skipInvisibleInstanceChildren = true;

Just remove it.


Reply