# operator <<(int2, int)

> Returns the result of a componentwise left shift operation on an int2 vector by a number of bits specified by a single int.

## Definition

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

```csharp
public static int2 operator <<(int2 x, int n)
```

### Parameters

**** (\[int2]\(/engine/6000.6/script-reference/unity/mathematics/int2)): The vector to left shift.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The number of bits to left shift.

### Returns

| Type                                                              | Description                                 |
| ----------------------------------------------------------------- | ------------------------------------------- |
| [int2](/engine/6000.6/script-reference/unity/mathematics/int2.md) | The result of the componentwise left shift. |
