# implicit operator bool2x2(bool)

> Implicitly converts a single bool value to a bool2x2 matrix by assigning it to every component.

## Definition

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

## implicit operator bool2x2(bool2x)

```csharp
public static implicit operator bool2x2(bool v)
```

### Parameters

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

### Returns

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