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

What is Framer? Join the Community
Return to index
Zoltan Ray
Posted Apr 07 - Read on Facebook

Trying out the new draggable options but changing the values doesn't seem to have any effect. Am I missing something obvious?

iconLayer.draggable.enabled = true
iconLayer.momentumOptions = {
friction: 2.1
tolerance: 0.1
}

Setting friction to 1, 100, 1000 or whatever appears to make no difference, and same with the tolerance value.

3 Comments

Joshua Tucker

Hey Zoltan! Make sure you have "iconLayer.draggable.momentumOptions." Forgot the .draggable in between.

Koen Bok

Yup that is it.

Zoltan Ray

doh, thanks!

Read the entire post on Facebook