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

What is Framer? Join the Community
Return to index
Kelly Keenan
Posted Sep 08 - Read on Facebook

Is there a way to easily apply the same animation options to multiple layer states at once? I want all these states to have the same time property without writing out a bunch of AnimationOptions for each. Thanks!


Andrew Nalband

Hi Kelly, if you put all those items into an array, you can loop through the array and apply a state to each item in the array

Jordan Robert Dobson

for layer in [$.navprofile, $navsearch,...]
____select: scale:1.2, brightness: 150
__layer.animationOptions = time: .25

Kelly Keenan

Thanks for the replies! Is there something off with my spacing, i cant get that array to do anything now.

Read the entire post on Facebook