Skip to main content
Tomer_Gabbai
Sep 5, 2024 1:16 PM UTC
Question

isMask property isn't working properly

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
Sep 5, 2024 2:58 PM UTC

Forgot the screenshot…

tank666
Sep 5, 2024 3:52 PM UTC

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
Sep 5, 2024 4:43 PM UTC

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
Sep 10, 2024 8:16 PM UTC

You’re right. Thanks for pointing that out!