Meta accounts are here: you can create a Meta account to log into VR devices. 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.