myVector.lengthSquared() in Anark Studio 2.5

Length of the vector, squared.

Return Type
Number

Description

Calculates and returns the squared length (squared magnitude, or distance from 0,0,0) of the current vector.