Scripting

Search The Documentation:

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

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:

1
obj.triggerVR(hand, type, deadzone)
Tags
Was this article helpful to you? Yes No

How can we help?