You need position from both. Then you can do vec_dist(...) or vec_lenth(...) - vec_length(...)