Scripting

Search The Documentation:

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

parentToTag

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Attach this object to another object by tag without storing the other object, optional offset and ID comparison check

Parameters:

  • tag
    • A string value
  • offset (optional)
    • A string value, defaults to 0,0,0
  • compareUID Optional
    • An integer value

Example:

1
obj.parentToTag(tag, offset, compareUID)
Tags
Was this article helpful to you? Yes No

How can we help?