To test it i have tried different debug texts and i even set the nearest target opacity to 50. The crazy thing is that the function seems to work... but only one time and this is what i can't figure out. While I'm dragging, why doesn't the nearest target update? It only does it one time when i start the drag event.
It's probably something simple but I've been staring at this code since yesterday and i can't find what's wrong.
The code enters the function over and over but the nearest target seems to only be set once. Anyways, any help would be awesome.