Click or drag to resize
Vector2DistanceTo Method
Gets the distance to another Vector2.

Namespace: SampSharp.GameMode
Assembly: SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.7.6221.37952
Syntax
public float DistanceTo(
	Vector2 other
)

Parameters

other
Type: SampSharp.GameModeVector2
The Vector2 to calculate the distance to.

Return Value

Type: Single
The distance between the vectors.
See Also