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