Meta accounts are here: you can create a Meta account to log into VR devices. Learn more

WHEN OBJECT IS GRABBED BY PLAYER

Event that runs when the object is grabbed by a player.

Appearance in Composition Pane
Description

Commands below when object is grabbed by player will execute when a player grabs the object the script is attached to.
Parameters

player
The player who grabbed the object.

Example 1: Set a boolean

In this example, grabbing the object sets the holding boolean to false. boolean to true. This would be useful elsewhere in the script when testing holding's state with the if codeblock.

Next Up