Skip to main content
Solved

Flatten all layers

  • March 17, 2021
  • 2 replies
  • 14185 views

Pavlos

Is there a way to create a plugin that Flattens the layers into a single vector layer of all the Frames that you may have in you page?

image

Best answer by Gleb

Yes, you can flatten nodes using the figma.flatten() method.

figma.com
View original

2 replies

Gleb
  • Power Member
  • 4708 replies
  • Answer
  • March 17, 2021

Yes, you can flatten nodes using the figma.flatten() method.

figma.com

Andrei_Iancu

👋 Hey @Pavlos ,

There is a command to flatten each selected layer in Automater

If you need to flatten a group of elements, i recommend you to group these first by using Group By Parent which is also available in the plugin.
Basically:

  1. Select all the layers you plan to group
  2. Group by Parent
  3. On resulted groups, use Flatten Each

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