# operator --(uint2)

> Returns the result of a componentwise decrement operation on a uint2 vector.

## 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)): Value to use when computing the componentwise decrement.

### Returns

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