Vector2.length property

readonly length: float

Returns the length of this vector.

The length is calculated by the square root of (x * x + y * y)