# operator >

> Returns the result of a componentwise greater than operation on two uint2 vectors.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Mathematics](/engine/6000.7/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## operator >(uint2, uint2)

Returns the result of a componentwise greater than operation on two uint2 vectors.

```csharp
public static bool2 operator >(uint2 lhs, uint2 rhs)
```

### Parameters

**** (\[uint2]\(/engine/6000.7/script-reference/unity/mathematics/uint2)): Left hand side uint2 to use to compute componentwise greater than.**** (\[uint2]\(/engine/6000.7/script-reference/unity/mathematics/uint2)): Right hand side uint2 to use to compute componentwise greater than.

### Returns

| Type                                                                | Description                                     |
| ------------------------------------------------------------------- | ----------------------------------------------- |
| [bool2](/engine/6000.7/script-reference/unity/mathematics/bool2.md) | bool2 result of the componentwise greater than. |

## operator >(uint2, uint)

Returns the result of a componentwise greater than operation on a uint2 vector and a uint value.

```csharp
public static bool2 operator >(uint2 lhs, uint rhs)
```

### Parameters

**** (\[uint2]\(/engine/6000.7/script-reference/unity/mathematics/uint2)): Left hand side uint2 to use to compute componentwise greater than.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Right hand side uint to use to compute componentwise greater than.

### Returns

| Type                                                                | Description                                     |
| ------------------------------------------------------------------- | ----------------------------------------------- |
| [bool2](/engine/6000.7/script-reference/unity/mathematics/bool2.md) | bool2 result of the componentwise greater than. |

## operator >(uint, uint2)

Returns the result of a componentwise greater than operation on a uint value and a uint2 vector.

```csharp
public static bool2 operator >(uint lhs, uint2 rhs)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Left hand side uint to use to compute componentwise greater than.**** (\[uint2]\(/engine/6000.7/script-reference/unity/mathematics/uint2)): Right hand side uint2 to use to compute componentwise greater than.

### Returns

| Type                                                                | Description                                     |
| ------------------------------------------------------------------- | ----------------------------------------------- |
| [bool2](/engine/6000.7/script-reference/unity/mathematics/bool2.md) | bool2 result of the componentwise greater than. |
