Skip to main content
Tomer_Gabbai
September 5, 2024
Question

isMask property isn't working properly

  • September 5, 2024
  • 5 replies
  • 115 views

Hi there,

We have a mask rectangle in a Figma file that is masking an image. However, when we fetch the node through the Plugin API, the isMask property returns false.

When we create a mask from scratch, it works as expected. But in this case, the property seems to return an incorrect value.

Are we missing something, or could this be a bug?

Thanks!

This topic has been closed for replies.

5 replies

Tomer_Gabbai
September 5, 2024

Forgot the screenshot…

tank666
September 5, 2024

Could you share a link to the example file?

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
tank666
September 5, 2024

I checked your file and the isMask property returns true for the node with id 0:1059.

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
Tomer_Gabbai
September 10, 2024

You’re right. Thanks for pointing that out!