Skip to main content
Solved

Any methods to trigger built in align & distribute?

  • March 22, 2023
  • 1 reply
  • 325 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.

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.