disconnect_signal
Disconnects a signal connection between two nodes in a Godot scene. Automatically saves changes; verify the connection exists before using.
Instructions
Disconnect a signal connection between two nodes. Saves automatically. Errors if the connection does not exist — use get_node_signals first to verify.
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 | |
| targetNodePath | Yes | Target node path from scene root | |
| method | Yes | Method name on the target node |