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

What is Framer? Join the Community
Return to index
George Otsubo
Posted Dec 22 - Read on Facebook

Before you could store layers in their initial properties with:

layer.originalProps = layer.props for layer in Framer.CurrentContext.getLayers()

but now it seems to give an error...?

1 Comments

Krijn Rijshouwer

I think we deprecated getLayers in the latest Animation release. Using Framer.CurrentContext.layers instead should solve your issue.

Read the entire post on Facebook