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

What is Framer? Join the Community
Return to index
Presten Wang
Posted Dec 11 - Read on Facebook

another rookie question:
I want to track if an object is being dragged,
it returns "True" where Events.DragEnd is fired. Why is that?


Marc Krenn

I guess that's because DragEnd is still considered as the layer being dragged, even though that's not technically 'true'.

What are you trying to do exactly?

There are a bunch of different ways of checking if a layer is currently dragged, I'm sure we'll find the right one for your case as well :)

Alex Pereira

My guess is that draggable.isDragging only returns false once touchEnd has fired. I'd confirm that for myself but I'm currently on mobile...

Jordan Robert Dobson

Yep... that's the last event you get from a drag.

Joon Won Lee

Exactly works as written.
It get fired right after your dragging ended
Thats all

Read the entire post on Facebook