We’re introducing Meta accounts in August 2022: a new way to log into VR devices that doesn’t require a Facebook account. Learn more

RESET WORLD STATE

Resets the world back to its initial state.

Appearance in Composition Pane
Description

When called, reset world state resets the game world as if it had just been instantiated. Player positions and objects attached to players are not reset.
Example 1: Reset world with a trigger

In this example, when trigger is entered by player fires the reset world state codeblock. Imagine the trigger covering a “restart game” button.