# Vector4.ComponentMax

```csharp
Vector4 ComponentMax(in Vector4 other)
```

Returns a vector that has the maximum values on each axis between this vector and given vector.

### Parameters

- `in other` (`Vector4`)

### Returns

`Vector4`

Declared in [Vector4](/api/Vector4).
Assembly: `Sandbox.System`.
