Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. VR
  5. grabHand

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:

1
obj.grabHand()
Tags
Was this article helpful to you? Yes No

How can we help?