Scripting

Search The Documentation:

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

accessoryCopyTo

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Copy an accessory from ourselves to another object, if they already have it copy the values

Parameters:

  • index
    • An integer value
  • name
    • A string value

Example:

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

How can we help?