# implicit operator bool2(bool)

> Implicitly converts a single bool value to a bool2 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 bool2(bool v)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): bool to convert to bool2

### Returns

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