# Vector2.Max

```csharp
static Vector2 Max(Vector2 a, Vector2 b)
```

Returns a vector that has the maximum values on each axis between the 2 given vectors.

### Parameters

- `a` (`Vector2`)
- `b` (`Vector2`)

### Returns

`Vector2`

Declared in [Vector2](/api/Vector2).
Assembly: `Sandbox.System`.
