unity_gameobject_set_active
Activate or deactivate a Unity GameObject in the scene using its hierarchy path or instance ID.
Instructions
Set a GameObject active or inactive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Hierarchy path or name of the GameObject | |
| port | No | Unity instance port (from unity_select_instance). Always include it when multiple instances run. | |
| active | Yes | Whether the GameObject should be active | |
| instanceId | No | Instance ID (alternative to path) |