Returns the angle of the vector relative to the positive X-axis in radians
Returns the length (magnitude) of the vector
Returns the squared length (more efficient)
StaticisStaticfromStaticfromReturns a new Vector2 representing a unit vector pointing in the given angle (radians)
Returns a normalized vector (length = 1)
Alignment Dot product with another vector (normalized)
-1 .. 1 if vectors are normalized
Returns a string representation
Clones a vector.
2D Vector class similar to Godot's Vector2