So I've learned about magnitude and how it works, and I've inputted the following script:
mag = (game.Workspace.Part1.Position - game.Workspace.Part2.Position).magnitude
print(mag)
Now, when I print the magnitude, my questions, what is the number that is being displayed in the output after I play? Is it the distance between their X value, or all of them combined?
Like I said, just a quick question. Much thanks. Cheers!

3 comments
Oh, alright. But is the length in studs? Is that the number I'm seeing when I print the magnitude?
Yeah
Thank you. I just needed to know that.