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