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