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

playLevel

playLevel(world, id): boolean

Makes id the level being played, if it is unlocked; false, and nothing changes, if it is not. Throws for a level the game does not list. The scene reads the level it builds from current.

Parameter Type
world World
id string

boolean