S&box Wiki

Vector2.IsNearZeroLength

Syntax

bool IsNearZeroLength { get; }

Description

returns true if the squared length is less than 1e-8 (which is really near zero)