Vector:DistanceTo2D(Vector, Vector)

shared
Calculates the distance between two vectors in 2D space.

Arguments

Returns

  • number The distance between the two vectors in 2D space.

Examples

Vector:DistanceTo2D – Calculates the distance between two vectors in 2D space.