connect_signal
Connect a signal from one node to a method on another node in your Godot scene. Automatic saving; errors if signal or method does not exist.
Instructions
Connect a signal from one node to a method on another node. Saves automatically. Errors if the signal does not exist on the source node or the method does not exist on the target node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Scene file path relative to the project | |
| nodePath | Yes | Source node path from scene root | |
| signal | Yes | Signal name on the source node (e.g. "pressed", "body_entered") | |
| targetNodePath | Yes | Target node path from scene root that receives the signal | |
| method | Yes | Method name on the target node to call when the signal fires |