can you guys tell me what to use it for and when to use magnitude?
I saw the dev forum and it said " Magnitude is a mathematical term which can mean several things. In vector theory, magnitude is the length of a vector."
Magnitude returns the distance between two positions in studs.
For better understanding there are many tutorials you can take help from and one has already been provided.