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

What is Framer? Join the Community
Return to index
Robin Spielmann
Posted Jan 27 - Read on Facebook

Hey! I'm trying to create a side-menu, which should animate from left into the viewport. The default x value is -630 (the menu width) and a button should toggle the x value from -630 to 0 with a animation.

On the screenshot you can see my event listener on the toggle button. why is there a error report, that I can't animate the x value of the layer element?

Thanks for your help!


Anton Kartashov

You need to write "properties: x: 0" instead of "properties: menu.x = 0"

Read the entire post on Facebook