Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Input
  5. checkMouseButton

checkMouseButton

Platform Compatibility

PC Mac OSX Oculus Quest
X X

Check mouse button

Parameters:

  • button
    • An integer value

returns a Boolean (true or false) value

Example:

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

How can we help?