Set Active
set_activeSet a GameObject active or inactive in the Unity scene using its scene path and an active flag.
Instructions
Set GameObject active/inactive.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"active": "<active>"
},
"name": "set_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Scene path to the GameObject | |
| active | Yes | True to activate, False to deactivate |