grabHand

Platform Compatibility PC Mac OSX Oculus Quest X – X Check which hand is grabbing the object (1 for left, 2 for right, 0 for none) returns an Integer (whole number) value Example: 1obj.grabHand()

isGrabbed

Platform Compatibility PC Mac OSX Oculus Quest X – X Check if the object is grabbed returns a Boolean (true or false) value Example: 1obj.isGrabbed()

isGrabbable

Platform Compatibility PC Mac OSX Oculus Quest X – X Check if the object can be grabbed returns a Boolean (true or false) value Example: 1obj.isGrabbable()

setGrabbable

Platform Compatibility PC Mac OSX Oculus Quest X – X Set if the object can be grabbed Parameters: _tf A boolean value Example: 1obj.setGrabbable(_tf)

handColliderOn

Platform Compatibility PC Mac OSX Oculus Quest X – X Get if a hand collider is on or off. Hand: Main Secondary Left Right Parameters: hand A string value returns a Boolean (true or false) value Example: 1obj.handColliderOn(hand)

setHandColliderOn

Platform Compatibility PC Mac OSX Oculus Quest X – X Turn hand collider on or off. Hand: Main Secondary Left Right Parameters: hand A string value _tf A boolean value Example: 1obj.setHandColliderOn(hand, _tf)

thumbstickVR

Platform Compatibility PC Mac OSX Oculus Quest X – X Get the X,Y of a thumbstick on left or right hand Hand: Main Secondary Left Right Parameters: hand A string value deadzone Optional A float value returns a String (text) value Example: 1obj.thumbstickVR(hand, deadzone)

triggerVR

Platform Compatibility PC Mac OSX Oculus Quest X – X Get the value of trigger or grip Hand: Left Right Type: Trigger Grip Parameters: hand A string value type A string value deadzone Optional A float value returns a Float (decimal number) value Example: 1obj.triggerVR(hand, type, deadzone)

buttonVR

Platform Compatibility PC Mac OSX Oculus Quest X – X Detect a VR button: One Two Three Four PrimaryThumb SecondaryThumb TouchL TouchR Parameters: button A string value returns a Boolean (true or false) value Example: 1obj.buttonVR(button)

isVR

Platform Compatibility PC Mac OSX Oculus Quest X – X Are we in VR? returns a Boolean (true or false) value Example: 1obj.isVR()