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

What is Framer? Join the Community
Return to index
Andy Jakubowski
Posted Jan 15 - Read on Facebook

Solved: you can in fact assign states to and animate SVGLayers built in Design once you"<name>") them in Code.


Hey folks, is it now possible to assign states to complex shapes and animate them?

I’m trying to design a shape using boolean operations in Design, and then change its state with Code.

I can only target Frames in Code, but those can’t be edited beyond a rect with a borderRadius.

I can access my SVGLayer with, but it doesn’t seem like you can animate that in Code.

Has anyone achieved this? Any tips?

My project:

Thanks and have a great Friday!


Jonas Treub

You were almost there. Animate is a function instead of an assignment. And you should use fill instead of backgroundColor.

polygon.animate fill: "red"

Read the entire post on Facebook