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

What is Framer? Join the Community
Return to index
Bob Zubkoff Jr.
Posted Oct 05 - Read on Facebook

Working with scroll components and my project has quite a few layers. I am having an issue when I go in to code where my layers are not in the correct order. I tried to manually place the scrolling content behind the items I want it to appear behind with this code:


it doesn't seem to be working for everything though, any suggestions?


Jonas Treub

placeBehind only works for layers that share the same parent . You change the parent using the .parent property of layer. Setting it to null will place it in the top of the hierarchy.

Read the entire post on Facebook