Skip to content

world

Allows you to interact with the worlds.

Functions

World: world.create

world.create(string: worldName, Short Vector: worldDimensions)

Creates a new world.

World: world.getbyname

world.getbyname(string: worldName)

Returns a World object by its name.

world.iterall

World.iterall(func: ITERATE_FUNCTION(World: wrld))

Iterates through all worlds, passing them to ITERATE_FUNCTION().

World: world.getmain

world.getmain()

Returns the current world that set as main.

world.setmain

world.setmain(World: world)

Sets the specified world as main.