cocos_find_node_by_name
Locate nodes in Cocos Creator scenes by name to retrieve their array index for game development automation.
Instructions
Find the first node with the given name. Returns its array index, or None.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene_path | Yes | ||
| name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |