Can you use signals to communicate with other scripts in different scenes?

Godot Version

4.3

Question

Is there any way to send a signal from one script in a scene and connect it to another script in a different scene?

I understand how to use signals if they’re in the same scene.
(Call down, signal up) But I’m not sure how to do it between different scenes.

I’d like to fill this knowledge gap. Also, please provide some example code so I can add it to my notes.

Use an Autoloaded script that contains the signals that you need. This concept is called an event bus.

1 Like

Instanced scenes can have their signals connected in the editor. You can also connect signals through scripts. Specifics might help to give an example.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.