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

What is Framer? Join the Community
Return to index
Anthony Custable
Posted Feb 05 - Read on Facebook

Hey guys, I am new to coffee script and I am trying to animate a flyout menu by clicking the menu Icon. For some reason its not working. Anyone know why?

4 Comments

Andrew Liebchen

Try indenting line 141 to line up with the previous line. The following line will have an additional indent.

Peter Gr

Hey Anthony -- for animating layers, try this format:

Layer.onClick ->
- Layer.animate
- - properties:
- - - rotation: someNumber
- - - scale: someNumber
- - time: someDuration
- - curve: someCurve

Ernie Booth

You're not telling the flyout variable to animate. Search for menuFlyout. You create it on line one but never use the variable you created.

Ernie Booth

Also you defined menuIcon.onClick twice

Read the entire post on Facebook