# implicit operator bool4(bool)

> Implicitly converts a single bool value to a bool4 vector by assigning it to every component.

## Definition

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

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

### Parameters

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

### Returns

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