Skip to content

Reference 392

Reference: id 392

Generated from apps/docs-astro/src/generated/docs.json

regenSeed
Kind 1024 id: 392

Determines if and when the prng seed will be regenerated. If set to `passage`, the seed will be regenerated on every passage navigation. If set to `eachCall`, the seed will be regenerated on every call to the `random` getter. If set to `false`, the seed will not be regenerated at all. Essentially, the engine will use the initial seed for all random number generation.

Type: "passage" | "eachCall" | false

Source: apps/library/src/types/if-engine.ts :181 (view)

View by name: regenSeed

See in /reference/all

Tags
  • @default```ts "passage" ```