figma / plugin-typings

Typings for the Figma Plugin API
MIT License
195 stars 45 forks source link

Constraints are missing in GroupNode #91

Closed k15a closed 9 months ago

k15a commented 2 years ago

It's possible to change the constraints for a group in the properties panel but the plugin types and the plugin API don't include them.

Screen Shot 2021-11-12 at 16 58 04
jefflee-figma commented 9 months ago

Thanks for the bug report. The Plugin API now has the ability to iterate over group node constraints. Please see:

https://www.figma.com/plugin-docs/api/GroupNode/#applying-constraints-to-groups