attach_script
Attach a GDScript file to a specified node in the scene to add custom behavior.
Instructions
Attach a GDScript to a node in the scene
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Node to attach script to (e.g. 'Player' or '' for scene root) | |
| script_path | Yes | Script file path to attach |