# implicit operator half2(half)

> Implicitly converts a single half value to a half2 vector by assigning it to every component.

## Definition

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

```csharp
public static implicit operator half2(half v)
```

### Parameters

**** (\[half]\(/engine/6000.7/script-reference/unity/mathematics/half)): half to convert to half2

### Returns

| Type                                                                | Description      |
| ------------------------------------------------------------------- | ---------------- |
| [half2](/engine/6000.7/script-reference/unity/mathematics/half2.md) | Converted value. |
