Skip to content

Connect signals to callbacks through the editor interface

Manuel Quiñones edited this page Jun 25, 2026 · 1 revision

In Godot you can use the Signals tab next to the Inspector tab for connecting to signals. Instead of connecting through the script like: hit_box.body_entered.connect(_on_body_entered). When connecting through the editor interface you can select the node who's script the callback will be added. Plus there are a number of tricks:

  • Add extra call arguments. For example, the same _on_button_pressed() callback can be used by multiple buttons, each passing a different value to an extra argument.
  • Unbind (drop) signal arguments if you don't need them.
  • Tick options like Deferred, One Shot.

See the Godot Documentation for a step-by-step tutorial.

Clone this wiki locally