Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Object Data
  5. setParent

setParent

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Set the parent of object A to object B

Parameters:

  • indexA
    • An integer value
  • indexB
    • An integer value

Example:

1
obj.setParent(indexA, indexB)
Tags
Was this article helpful to you? Yes No

How can we help?