Custom Signal Connect to target node Out side the main Scene

I made custom signal, when I am try to connect when double click on signal there’s no node that I want to connect, maybe it’s because my target node wasn’t in same scene.

I hope you’ll understand and help me through this. Thank You

1 Like

If your stage_1 scene is instantiated with code in the main scene, you will also have to connect it with code.

Only nodes within a scene can be connected in the editor.

( Under the hood the connection is saved in the .tscn file, and since you are trying to span two .tscn files, it will not work. )

1 Like

You could create a autoload/Singleton and subscribe it to the signal. Then you can access the signal globally.

1 Like