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

What is Framer? Join the Community
Return to index
Caitlin Charniga
Posted Sep 01 - Read on Facebook

Hey guys, I have a set of layers imported from sketch that will all have the same fade-in animation, but with different delays. Is there a way to do this with a for loop as opposed to adding states to each individual layer? Thanks!


Dave Crow

If you're wanting to stagger the delays, then something like this:

for layer, i in someArray
.....layer.states.switch(‘fadeIn’, delay: i * 0.05)

Read the entire post on Facebook