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

reloadScene

reloadScene(authority): boolean

Asks the room to start its scene again once this step ends: every entity the scene spawned goes and spawns anew, on the room and on every page, and the players keep their characters, as Godot’s reload_current_scene starts a scene again. Two calls in one step start it once. Returns false, and changes nothing, where nothing mounts the world’s scene headless: a game played alone, which starts its scene again with useScenes().reload() from a component, and a room whose scene is a spawn function rather than a component, as a test’s can be.

Parameter Type
authority Authority

boolean