# Random(uint)

> Constructs a Random instance with a given seed value. The seed must be non-zero.

## Definition

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

```csharp
public Random(uint seed)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The seed to initialize with.
