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

What is Framer? Join the Community
Return to index
Nipurn Doshi
Posted Jul 20 - Read on Facebook

Is it possible to remove a layer out of the previously added layers from scroll.content?

2 Comments

Adhithya R Kumar

There's a utils function to add every layer as an editable object. You can just remove the object. Check utils documentation.

Paul Justin Farino

Nipurn Doshi Here's an example of removing a layer that was previously added to scroll.content. http://share.framerjs.com/lc8hwys0jpf7/

I used the scroll.content snippet shipped with Framer as the example. You can use layer.destroy()
In the example I included a few different ways you can select the layer you want.

Read the entire post on Facebook