Returns the axis of the vector's largest value. See
Vector2Axis.
If both components are equal, this method returns
X.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector2Axis MaxAxis()
Return Value
Type:
Vector2AxisThe index of the largest axis.
See Also