Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Drag and Drop with Snap into place

$
0
0

Hello!

 

I am  trying to create a drag and drop that will snap into place when close enough to the target. I have used a tutorial to create the inital drag and drop. I have also been working to make sure that the file works on with touch on a mobile device.  The tutorial i used is here http://www.lokehansen.com/blog/2012/12/05/edge-animate-drag-drop-made- easy/.

 

Here is what my code is looking like

Screen Shot 2013-12-10 at 9.29.35 AM.png

 

I would really like to be able to get the draggable object to snap to a position when dropped close enough to the droppable zone. I am a bit of a novice so any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>