Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Find the distance between two things?

How do you find the distance between a part and another part through a script?

1 answer

✓ Accepted answer

To find how many studs are between two parts, you would use Magnitude

Example:

local magnitude = (part1.Position - part2.Position).magnitude
print(magnitude)

This discussion is preserved as it was. New answers, comments, and votes are closed.