Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

README.md

scene.setStartup

Make the currently active scene the world's startup scene.

Takes no arguments: it pins whatever scene is live now as the scene the world auto-loads every time it loads, so after building or loading a scene you call this to make it stick across world reloads. There is no clear/unset — a world with no startup scene has no scene context and every script fails, so that is not a valid choice.

The current startup scene shows in scene.summary. Returns { scene } — the name of the scene now set as the world startup.