Skip to main content
Question

Get itemSpacing value from SPACE_BETWEEN aligned items (auto)

  • May 29, 2025
  • 1 reply
  • 30 views

James Simonson

I am building a Figma Plugin that exports Figma designs to a game engine. 

I have noticed that if I have items using SPACE_BETWEEN aka “auto”. The outputted itemSpacing is the user defined value and not what's calculated by Figma. See the below diagram, I want the “???” in pixels. Since Figma renders it I assume it must be stored somewhere. 

 

1 reply

James Simonson
  • Author
  • New Participant
  • 8 replies
  • June 3, 2025

Made a GitHub issue for tracking: https://github.com/figma/plugin-typings/issues/334


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings