signal_connect
Connect a signal emitted by a source node to a method on a target node in a Godot scene. Specify scene, source and target node paths, and method name.
Instructions
Connect a signal from one node to a method on another node.
Category: Signal
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) source_node_path: Path to the source node that emits the signal (e.g., "root/Button") signal_name: Name of the signal to connect (e.g., "pressed") target_node_path: Path to the target node that receives the signal (e.g., "root/Handler") method_name: Name of the method to call on the target node (e.g., "_on_button_pressed")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| source_node_path | Yes | ||
| signal_name | Yes | ||
| target_node_path | Yes | ||
| method_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |