Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commite8beb5604c

README.md

modules.world

The world global's Luau implementation. Composes the world-defaults slots (avatar_default_* / camera_default_* / startup_scene), the lifecycle callback registries (onLoaded / onUnloaded / onSaved), world.args mirroring CLI_ARGS, and world.status() / world.status_text() from the world_status sub-module.

Default-slot reads are routed through metatable __index so live edits to .world_settings are picked up on the next access without manual invalidation. Setters are play-mode-gated (writes target a source-VFS file which is locked while play mode is actively running; engine.mode = "edit" or engine.paused = true unlocks it).