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

What is Framer? Join the Community
Return to index
Chris Wang
Posted Jun 03 - Read on Facebook

Hey guys, could anyone help me understand how the Draggable Constraints work and when to use it?

Seems like x,y defined in constraints are the positions that the layer snap to "after DragEnd" rather than "on DragStart". And I'm also having a hard time seeing how the draggable area is defined by Width and Height.

Here's my test file
http://share.framerjs.com/u1pw4s6avfmk/

2 Comments

Koen Bok

http://framerjs.com/learn/basics/dragging/ under constraints should help.

Chris Wang

Sweet! Thanks Koen Bok. I was looking at the doc and didn't realize it's covered in the Learn section.

Read the entire post on Facebook