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

ELSE

Will run codeblocks when the first if is false.

Appearance in Composition Pane
Description

Placed directly below an if, will run indented codeblocks if the first if is false. Can also be placed under an else if.

PREREQUISITE READING

ELSE IF precedes this tutorial


Example 1: Turn on and off a lightbulb

When a player enters a trigger, a light bulb is switched off and on.

Next Up