# Vector2Int.Distance

## Overload 1

```csharp
float Distance(Vector2Int other)
```

Returns the distance between this vector and another.

### Parameters

- `other` (`Vector2Int`)

### Returns

`float`

## Overload 2

```csharp
float Distance(Vector2 other)
```

Returns the distance between this vector and another.

### Parameters

- `other` (`Vector2`)

### Returns

`float`

Declared in [Vector2Int](/api/Vector2Int).
Assembly: `Sandbox.System`.
