# NextBool4()

> Returns a uniformly random bool4 value.

## Definition

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

```csharp
public bool4 NextBool4()
```

### Returns

| Type                                                                | Description                     |
| ------------------------------------------------------------------- | ------------------------------- |
| [bool4](/engine/6000.5/script-reference/unity/mathematics/bool4.md) | A uniformly random bool4 value. |
