This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Ivan Cruz
Posted May 08 - Read on Facebook

Is there a way to iterate over elements of a Sketch group. I have a table group that contains 4 buttons and would like to transition them in one at a time without having to do it manually. Thanks!

5 Comments

Ivan Cruz

This is my attempt at it

Andreas Wahlström

Hi! You need to put each layer inside separate groups in order to have them correctly imported into framer. Then you can use for child in imported.table.sublayers to loop them through

Joshua Tucker

Hey Ivan! Yes you can.

for child in imported["table"].subLayers

Ivan Cruz

Got it to work, small win :) - thanks!

Joshua Tucker

Ivan Cruz Awesome my friend, cheers!

Read the entire post on Facebook