attach_script
Attach a script to a node in a Godot scene by specifying the scene file, node path, and script resource.
Instructions
Attach a script to a node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | Node path to attach script to | |
| scene_path | Yes | Path to .tscn file | |
| script_path | Yes | Script resource path (e.g. "res://scripts/player.gd") |