Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. GameState
  5. switchLookButton

switchLookButton

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Switch the primary button for looking around from right-click to left-click or left CTRL key if not VR

Parameters:

  • _tf
    • A boolean value

Example:

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

How can we help?