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

randomInt

randomInt(world, min, max): number

A whole number from min to max, both included, as Godot’s randi_range and Roblox’s NextInteger draw one.

Parameter Type
world World
min number
max number

number