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!

Forgot the screenshot…

Could you share a link to the example file?

Sure, there you go: https://www.figma.com/design/Ca9WtSJzDOsz4hSNcpHCxw/isMask-property-is-wrong?node-id=0-1043&t=esk9Pi9mclFMiX2X-1

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

You’re right. Thanks for pointing that out!