# Vector2.AlmostEqual

```csharp
bool AlmostEqual(Vector2 v, float delta = 0.0001)
```

Returns true if we're nearly equal to the passed vector.

### Parameters

- `v` (`Vector2`): The value to compare with
- `delta` (`float`), default `0.0001`: The max difference between component values

### Returns

`bool`: True if nearly equal

Declared in [Vector2](/api/Vector2).
Assembly: `Sandbox.System`.
