Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

random

random(world): number

A draw from the world’s stream, from 0 up to 1 and never 1: what a gameplay system draws instead of Math.random, as Unity’s Random.value and Godot’s randf are drawn.

Parameter Type
world World

number