JSProgramIA
Programmer
Ok, I am working on a bit of code to drag and drop a layer. I used the drag / drop library from and it works great.
But I need a "SNAP BACK" feature. So I wrote it and incorporated it and it works fine.
Now I need to detect whether my dragLayer hit the dropLayer.
Here is my progress:
As you can see the "snapping" works great. Does anyone know how to easily detect a "hit" ?
Thanks!
But I need a "SNAP BACK" feature. So I wrote it and incorporated it and it works fine.
Now I need to detect whether my dragLayer hit the dropLayer.
Here is my progress:
As you can see the "snapping" works great. Does anyone know how to easily detect a "hit" ?
Thanks!