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

What is Framer? Join the Community
Return to index
Vikar Zhang
Posted Jan 23 - Read on Facebook

Is there a way to add layer options after I created an Animation object?
I want to build a template animation, and when a layer needs to use it, I clone the animation object and set layer for it.

3 Comments

Vikar Zhang

Use a simple object to save options , and build animations separately when need, seem to be OK.

Benjamin Den Boer

Hey Vikar, you could create a animationTemplate function with layer as its argument - then you could call it when you need by targeting layers individually.

Vikar Zhang

Got it. Thank you very much Benjamin Den Boer

Read the entire post on Facebook