Skip to main content
Solved

Any methods to trigger built in align & distribute?

  • March 22, 2023
  • 1 reply
  • 321 views

KevinC

I’m trying to make a plugin that can user Figma’s own align & distribute functions.

Is there a way to either:

  • Trigger the native Figma commands via API or menu items?
  • Fake a keyboard shortcut (e.g. ALT+W) to make it work.

Any pointers appreciated. Thanks!

Best answer by tank666

There are no methods for alignment and distribution in the Plugin API, except for the alignment properties of auto layout frames. You need to write these functions yourself.

View original
This topic has been closed for replies.

1 reply

tank666
  • 4873 replies
  • Answer
  • March 23, 2023

There are no methods for alignment and distribution in the Plugin API, except for the alignment properties of auto layout frames. You need to write these functions yourself.


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