Meta accounts are here: you can create a Meta account to log into VR devices. Learn more

WHEN PLAYER EXITS THE WORLD

Event that runs when a player leaves the world.

Appearance in Composition Pane
Description

Commands below when world is exited by player will execute when a player leaves the world. When editing your world, the when player exits the world event will execute when a player enters build mode.
Parameters

player
The player who exits the world.


PREREQUISITE READING

WHEN PLAYER ENTERS THE WORLD precedes this tutorial


Example 1: Track number of players

This script decrements playercount.