Connect signals
signal_connectConnect or disconnect a signal between nodes in a Godot scene, editing the .tscn file exactly like the editor. Requires the target method to exist.
Instructions
Connect or disconnect a signal between nodes in a scene, persisted into the .tscn exactly as the editor writes it. The receiving method must exist on the target's script.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Node receiving it. | . |
| from | No | Node emitting the signal. | . |
| force | No | ||
| scene | Yes | ||
| action | No | connect | |
| method | Yes | Method to call, e.g. "_on_button_pressed". | |
| signal | Yes | Signal name, e.g. "pressed", "body_entered". | |
| project | No | Godot project folder (the one with project.godot). Optional if the server was started with --project. | |
| deferred | No | ||
| one_shot | No |