nanos world API Reference Unofficial documentation
Function Shared Bleeding edge only

Vector2D.SizeSquared

Get the squared length of this vector

Syntax

Lua
my_vector2_d:SizeSquared()

Returns

  • number The squared length of the vector