connect_signal
Connect a signal from a source node to a method on a target node in a Godot scene by providing the .tscn file path, signal name, and node paths.
Instructions
Connect a signal between nodes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | Connection flags | |
| signal | Yes | Signal name (e.g. "body_entered", "pressed") | |
| to_node | Yes | Target node path | |
| unbinds | No | Number of unbinds | |
| from_node | Yes | Source node path | |
| scene_path | Yes | Path to .tscn file | |
| method_name | Yes | Method name on target (e.g. "_on_body_entered") |