Scripting

Search The Documentation:

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

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:

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

How can we help?