Thanks!
And if I have to compare distances between points, can I use in that case keypoints? The program I'm trying to do is compare the distances of some nodes and a reference point (outside the mesh) and the one that it's closer to it apply the force in that node.
Thanks again!