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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
Returns
Section titled “Returns”number