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

What is Framer? Join the Community
Return to index
Arvi Raquel-Santos
Posted Jan 30 - Read on Facebook

n00b question here. I'm playing around with some really basic transitions. When adding time, I'm not seeing much of a difference. between .5 and .01.

What am I missing?

layerA.on Events.Click, ->
layerA.animate
properties:
scale: 0.85
time: 0.01
curve: "ease-in-out"

5 Comments

Matt Wujek

You need to make the properties part an object with curly braces.
properties:{scale: 0.85}
time: 0.5
curve: "ease-in-out"

George Kedenburg III

Arvi can you post a gist or a screenshot? Indentation is super important with coffeescript, so posting it as text on here makes it hard to debug.

Arvi Raquel-Santos

George and Matt thanks! I'm seriously just trying to make a box scale down 50% but it's super slow and can't see a difference between time: 1 or time: .25

George Kedenburg III

ah yeah, just put time and curve at the same indentation as properties

Arvi Raquel-Santos

ah thanks! also, had to change .5 to 0.5 and that did the trick!

Read the entire post on Facebook