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

WHEN PLAYER ENTERS THE WORLD

Event that runs when a player enters the world, and again if the world is reset.

Appearance in Composition Pane
Description

Commands below when world is entered by player will execute when a player enters the game world, and again if the world is reset. When editing your world, the when player enters the world event will execute when a builder enters preview mode.
Parameters

player
The player who entered the world.


PREREQUISITE READING

WHEN TRIGGER IS EXITED BY PLAYER precedes this tutorial


Example 1: Track number of players

This script increments playercount.

Next Up