Skip to content

set_active

Set the active state of GameObjects matching a selector.

Category: Batch

Name Type Required Default Description
selector string yes U-Selector to match target objects
active boolean yes Active state to set
include_inactive boolean true Include inactive objects in search

The arguments below are the required ones; add the optional ones you need.

{
"name": "set_active",
"arguments": {
"selector": "…",
"active": true
}
}

When Unity runs with NANORA_MCP_SUPERSAVE=1, call it through the execute meta tool: {"tool": "set_active", "args": { … }}. See SuperSave mode.

Generated from Assets/NanoraUnityMCP/Editor/Tools/BatchModifyTool.cs (version 1.2.1). The client receives the same schema from tools/list.