Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Transforms
  5. moveToParent

moveToParent

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Move this object to its parent (if it has one) with an optional offset

Parameters:

  • index Optional
    • An integer value
  • offset (optional)
    • A string value

Example:

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

How can we help?