User \ Attributes \ String
Set User Attribute (String)
The Grip Pressed node enables the user to detect when the VR controller's grip is pressed. By connecting a response to this node, the specified action is executed each time the grip is pressed, allowing for interactive controls within the VR experience.
Example
In this example, we added a String User Attribute called it Indoor with the value No
In this example, a Grip Pressed node is used to execute a response. Once the Gripuser pressenters the object named Building, the Indoor attribute's value will be set to Yes, then when the object named Teleport Button is triggered, the Gripuser(s) Pressed node checkswith the booleanattribute value.named IfIndoor the condition is met, the connected response executes, and the animationvalue playsYes duringwill be teleported to the VROutside experience.CameraNode location.