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

What is Framer? Join the Community
Return to index
Logan Merriam
Posted Jan 08 - Read on Facebook

I'm using the code from the draggable momentum example: http://examples.framerjs.com/#draggable-momentum.framer

How would you stop the element from going past a certain x or y value?

2 Comments

Matt Wujek

Hey Logan, I had this same problem. I directed you to a post from a few weeks ago

Logan Merriam

It's actually a different problem, I'm limiting the dragging in the same way as you but the momentum from the example disregards that. Huge thanks for the response though!

Read the entire post on Facebook