I'm currently in need for something like this for a project. I have a few draggables that are not allowed to touch eachother, and i thought to achieve this by using the snap-functionality. But i have the same problem: the function does not get both x and y passed through. Or are there other ways to achieve what i want?