Scripting

Search The Documentation:

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

cloneObject

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Clone an existing object

Parameters:

  • index
    • An integer value
  • x
    • A float value
  • y
    • A float value
  • z
    • A float value
  • UID Optional
    • An integer value

returns an Integer (whole number) value

Example:

1
obj.cloneObject(index, x, y, z, UID)
Tags
Was this article helpful to you? Yes No

How can we help?