# operator -(uint2)

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

## Definition

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

```csharp
public static uint2 operator -(uint2 val)
```

### Parameters

**** (\[uint2]\(/engine/6000.6/script-reference/unity/mathematics/uint2)):&#x20;

### Returns

| Type                                                                | Description                                    |
| ------------------------------------------------------------------- | ---------------------------------------------- |
| [uint2](/engine/6000.6/script-reference/unity/mathematics/uint2.md) | uint2 result of the componentwise subtraction. |
