Vector2:SquaredMag()

Version added: before 9.5

Computes the squared magnitude of a vector

Return type (real): the vector's squared magnitude

Computes the squared magnitude of a vector.