Scripting

Search The Documentation:

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

setGrabbed

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Manually set if the object is grabbed by a hand.

Hand:

  • Main
  • Secondary
  • Left
  • Right

Parameters:

  • hand
    • A string value
  • _tf
    • A boolean value

Example:

1
obj.setGrabbed(hand, _tf)
Tags
Was this article helpful to you? Yes No

How can we help?