Is there an easy way to get distance from part to part?

I need to get distance from part to part in studs. I believe it’s possible by math and positon but is there any eaiser way?

local distance = (part1.Position - part2.Position).Magnitude

As simple as it gets, position of one part subtracted by another and the magnitude of the result.

3 Likes