attach_script
Attach a script file to a specific node within a Godot scene by providing project, scene, node, and script paths.
Instructions
Attach a script to a node in a scene
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Path to the scene file (relative to project) | |
| nodePath | Yes | Path to the node (e.g., "root/Player") | |
| scriptPath | Yes | Path to the script file (relative to project) |