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