Garry's Mod Wiki

Vector:GetNormalized

  Vector Vector:GetNormalized()

Description

Returns a normalized version of the vector. Normalized means vector with same direction but with length of 1.

This does not affect the vector you call it on; to do this, use Vector:Normalize.

Returns

1 Vector
Normalized version of the vector.