PRODUCTS
EXPERIENCES
APPS & GAMES
SUPPORT
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
OVERVIEW
LEARN
COMMUNITY
JOIN
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 2
ACCESSORIES
RIFT S
APPS & GAMES
SUPPORT
DEVELOPERS
VR FOR WORK
ALL PRODUCTS
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
Facebook Connect
Research
ALL PRODUCTS
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
Facebook Connect
Research
Privacy
Legal
©
Facebook Technologies, LLC.