attach_script_to_node
Attach or detach a script to a node in a Godot scene to control its behavior.
Instructions
Attach a Godot script to a node in a scene
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | ||
| scenePath | Yes | ||
| nodePath | Yes | Path to target node | |
| scriptPath | Yes | Path to the script, or empty to detach |