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 BUTTON1 IS RELEASED

Event that runs when button1 on the controller is released.

Appearance in Composition Pane
Description

Depending on which Touch Controller, the right or left, is holding the object, A or X buttons will represent button1.
Parameters

player
The player holding the object.


PREREQUISITE READING

WHEN BUTTON1 IS PRESSED precedes this tutorial


Example 1: Stop Visual FX

Imagine if this script was attached to a wand with a visual effect grouped on the tip. You could even pair it with when button 1 is pressed to play visual fx ontrail to create a drawing effect!

Next Up