Returns the distance between this vector and `to`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public float DistanceTo(
Vector2 to
)
Parameters
- to
- Type: GodotVector2
The other vector to use.
Return Value
Type:
SingleThe distance between the two vectors.
See Also