Skip to main content
Solved

Luminance Mask type in REST API

  • September 29, 2023
  • 1 reply
  • 411 views

Bohdan_Ponomarenko

I’m using Figma REST API for exporting project. How do I know if I use Luminance Mask type. In REST API we only have IsMask and IsMaskOutline properties, that can cover Alpha and Vector Mask Types.

Best answer by James_Yang

This should now be available in the REST API through the maskType property, which gives the same values as the plugin API. The documentation for this should come out tomorrow Oct 18.

This topic has been closed for replies.

1 reply

James_Yang
Figmate
  • Figmate
  • Answer
  • October 17, 2023

This should now be available in the REST API through the maskType property, which gives the same values as the plugin API. The documentation for this should come out tomorrow Oct 18.