Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Accessories
  5. accessoryLit

accessoryLit

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Get whether an accessory is lit or unlit

Parameters:

  • name
    • A string value

returns a Boolean (true or false) value

Example:

1
obj.accessoryLit(name)
Tags
Was this article helpful to you? Yes No

How can we help?