duplicate_entities
Duplicate one or more entities in PlayCanvas Editor by providing their UUIDs. Enables efficient replication of 3D web application components.
Instructions
Duplicate one or more entities
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ids | Yes | Array of entity IDs to duplicate. The root entity cannot be duplicated. | |
rename | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"ids": {
"description": "Array of entity IDs to duplicate. The root entity cannot be duplicated.",
"items": {
"description": "An entity ID.",
"format": "uuid",
"type": "string"
},
"minItems": 1,
"type": "array"
},
"rename": {
"type": "boolean"
}
},
"required": [
"ids"
],
"type": "object"
}