math.mag

Syntax

f = math.mag(v)

Get the vector magnitude.

Returns:f - vector magnitude
Arguments:v - vector