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 INDEX TRIGGER IS RELEASED
Event that runs when the index trigger on the controller is released.
Appearance in Composition Pane
Description
This event executes when a player releases the index trigger button on their controller when holding the object that the script is attached to.
Parameters
player
The player holding the object.
PREREQUISITE READING
WHEN INDEX TRIGGER IS PRESSED precedes this tutorial
LEARN MORE
Example 1: Set a boolean
This script sets boolean
indexpressed
to false for use elsewhere in the script gizmo.
Next Up
WHEN BUTTON1 IS PRESSED
…
Depending on which Touch Controller, the right or left, is holding the object, A or X buttons will represent button1.
…
WHEN BUTTON1 IS RELEASED
…
Depending on which Touch Controller, the right or left, is holding the object, A or X buttons will represent button1.
…
WHEN BUTTON2 IS PRESSED
…
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