Vector:DistanceTo(Vector, Vector) shared Calculates the distance between two vectors. Arguments vector1 Vector vector2 Vector Returns number The distance between the two vectors. Examples Vector:DistanceTo – Calculates the distance between two vectors.