PRODUCTS
EXPERIENCES
APPS & GAMES
SUPPORT
Meta accounts are here: you can create a Meta account to log into VR devices.
Learn more
META HORIZON WORLDS
LEARN TO CREATE
INTRO TO CREATION
INTRO TO HAND TOOLS
INTRO TO GIZMOS
INTRO TO SCRIPTING
PUBLISHING
LOCAL SCRIPTING
EVENTS
MOTION
ACTIONS
RESOURCES
BROWSE TUTORIALS
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
LEARN MORE
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 on
trail
to create a drawing effect!
Next Up
WHEN BUTTON2 IS PRESSED
…
Depending on which Touch Controller, the right or left, is holding the object, B or Y buttons will represent button2.
…
WHEN BUTTON2 IS RELEASED
…
Depending on which Touch Controller, the right or left, is holding the object, B or Y buttons will represent button2.
…
QUEST 3
QUEST PRO
QUEST 2
ACCESSORIES
RIFT S
APPS & GAMES
SUPPORT
DEVELOPERS
VR FOR WORK
ALL PRODUCTS
Quest 3
Quest Pro
Quest 2
Quest 2 (Refurbished)
Rift S
Accessories
Quest
Go
Rift
Compare Headset
MORE META QUEST
Forums
Blog
Referrals
VR for Good
Creators
Download SDKs
ABOUT
Careers
Meta Connect
Research
ALL PRODUCTS
Quest 3
Quest Pro
Quest 2
Quest 2 (Refurbished)
Rift S
Accessories
Quest
Go
Rift
Compare Headset
MORE META QUEST
Forums
Blog
Referrals
VR for Good
Creators
Download SDKs
ABOUT
Careers
Meta Connect
Research
Privacy
Legal
© Meta 2024