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

What is Framer? Join the Community
Return to index
James Caruso
Posted Aug 17 - Read on Facebook

I'm experimenting with with dragging and overlapping. Does anyone have any examples of animating a Layer when another layer is dragged on top of it? Sort of like the Draggable example, only instead of the dropTarget changing at the end of drag, it changes if it and the bobble intersect or overlap.

4 Comments

Koen Bok

Hint: compare the layer.screenFrame() of both layers on the DragMove event.

James Caruso

Koen Bok, thanks for the suggestion, I appreciate it. I'll share my results.

James Caruso

I'm still trying to figure it out, but this is what I have so far. I'm still not sure what the language would look like comparing the layers. Is there any other documentation around that function?

https://www.dropbox.com/s/cij6u39v1gx8ccu/thinnngs.zip

James Caruso

Also, does anyone else have issues with SVG text being cut-off?

Read the entire post on Facebook