connect_signal
Connects a signal from a source node to a target node's method in a Godot scene.
Instructions
Connect a signal from one node to a method on another node in a scene
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Scene file path (relative to project) | |
| sourceNode | Yes | Node path of the signal source (e.g. root/Button) | |
| targetNode | Yes | Node path of the signal target (e.g. root) | |
| signalName | Yes | Name of the signal (e.g. pressed, body_entered) | |
| methodName | Yes | Name of the method to call on target (e.g. _on_button_pressed) |