Help me with connect function

Hi guys, need help.
I want to connect the button signal from one scene to the script of another scene and so that I don’t make this error:
Invalid argument for “connect()” function: argument 2 should be “Callable” but is “res://scenes/”
I’m a newbie and I don’t really understand what’s wrong.
please tell me how to solve this.

If you work with Godot 4, the syntax has slightly changed. Use this:


1 Like

thanks, I copied the code from the old video)