vector2.length
The Euclidean length of a plane vector.
Usage
Vector2.length(v: Vector2): numberParameters
vVector2The vector to measure. Required. In model.
Returns
A non-negative length in model units; NaN when a coordinate is NaN or two infinities cancel.
Example
Vector2.length(Vector2.of(3, 4)) // → 5