Vector3.sqr_length property

readonly sqr_length: float

Returns the squared length of this vector.

If you use vector lengths to compare distances, squared lengths are more performant and preferred to use.