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

What is Framer? Join the Community
Return to index
Michael Middleditch
Posted Feb 04 - Read on Facebook

apologies if this is simple but.. how do I put my imported psd or sketch layers into a scroll component without targeting each layer individually as I am here on the bottom line with 'BG' & styleSports as I have about 50 layers - thanks!

psd4 = Framer.Importer.load("imported/[email protected]")
designs = psd4

scroll = new ScrollComponent
width: 1200
height: 500

designs.BG.superLayer = scroll.content
designs.styleSports.superLayer = scroll.content


Ben Rodenhäuser

I would put all the layers in one superlayer allMyStuff already in Sketch/Photoshop. Then it's enough to write designs.allMyStuff.superLayer = scroll.content.

Michael Middleditch

Perfect - of course...

Read the entire post on Facebook