Skip to main content

Is it possible to detect if a nodes itemSpacing property is set to AUTO in the Figma UI? Currently, reading the itemSpacing property of a node passes back the number the layout would adopt if auto was turned off (e.g. for the node selected in the attached screenshot, the API would return itemSpacing:271)


Screenshot 2023-10-19 at 11.35.03


I can’t see anything about AUTO spacing in the API documentation. Is this just not supported?

figma.com

Oh boy well don’t I feel like a dunce 🤦‍♂️


This was exactly what I needed, thanks!


Reply