Skip to main content
Glama

PlayCanvas Editor MCP Server

Official
by playcanvas

reparent_entity

Change the parent of an entity in PlayCanvas Editor, allowing reorganization of 3D scene hierarchies while optionally preserving its transform for accurate positioning.

Instructions

Reparent an entity

Input Schema

NameRequiredDescriptionDefault
idYesAn entity ID.
indexNo
parentYes
preserveTransformNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "id": { "description": "An entity ID.", "format": "uuid", "type": "string" }, "index": { "type": "number" }, "parent": { "$ref": "#/properties/id" }, "preserveTransform": { "type": "boolean" } }, "required": [ "id", "parent" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/playcanvas/editor-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server