<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/random/integer_using",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "random::integer_using"
  },
  "title" : "random::integer_using"
}
-->

# random::integer_using

Generates a pseudo-random 32-bit unsigned integer using a specific seed.

```
uint random::integer_using(uint seed)
```

## Parameters

`seed`

The seed value to use for random number generation.

## Return Value

A pseudo-random 32-bit unsigned integer.

## Discussion

This function generates a random integer covering the full range of 32-bit unsigned
values using the provided seed. The seed is not modified, allowing for reproducible
random number generation. Use this when you need deterministic randomness or want
to control the random sequence independently.

> Visual: ![Graph](random__integer_using)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)