Click or drag to resize

Vector2DistanceTo Method

Returns the distance between this vector and `to`.

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

Parameters

to
Type: GodotVector2
The other vector to use.

Return Value

Type: Single
The distance between the two vectors.
See Also