Event that runs when the index trigger on the controller is pressed.
Appearance in Composition Pane
This event executes when a player presses the index trigger button on their controller while grabbing the object that the script is attached to.
The player holding the object.
Example 1: Play music
Imagine if this script was attached to a remote control object, and when the index trigger is pressed, it plays MusicObjectVariable. Which could be a music sound object, placed in a speaker, to add local, directional music to your world.