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

shuffle

shuffle<Item>(world, list): Item[]

Shuffles list in place from the world’s stream and returns it, as Godot’s Array.shuffle and Roblox’s Random:Shuffle do: a deck, a draft or a turn order that a continue shuffles as the room did.

Type Parameter
Item
Parameter Type
world World
list Item[]

Item[]