# implicit operator bool2x4(bool)

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

## Definition

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

## implicit operator bool2x4(bool2x)

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

### Parameters

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

### Returns

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