cocos_set_node_active
Toggle node visibility and functionality in Cocos Creator scenes by setting the active flag to enable or disable rendering and updates.
Instructions
Toggle a node's _active flag (True = visible/ticking, False = disabled).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| node_id | Yes | ||
| active | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |