Click or drag to resize

Vector2AngleTo Method

Returns the angle to the given vector, in radians.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float AngleTo(
	Vector2 to
)

Parameters

to
Type: GodotVector2
The other vector to compare this vector to.

Return Value

Type: Single
The angle between the two vectors, in radians.
See Also