I'm trying to create something like this: https://scratch.mit.edu/projects/editor/?tip_bar=getStarted
so when dragging a block next to another one on the canvas, the snap starts *before the elements touch.
Basically, a negative threshold.
This got me a good way there: http://greensock.com/forums/topic/9265-draggable-snapping-to-specific-points-with-sensitivity/
looping through my elements, using hitTest to figure out which is being touched by the dragging element, and I added inset borders with box shadow and some custom logic to figure out which side to snap to....
but I'm not sure how to move the hitTest detection outside the bounds of the receiving element.
I tried a negative value but docs show 0% as the minimum value.
Looking at the source code for the Draggable.hitTest function and not sure what it's doing to extend it. Any leads, existing codepens, or ideas come to mind?
Any thoughts greatly appreciated,