Hi, this is definitely a newbie question, but I must be misunderstanding something. I have a general idea of how signals work and how to handle them on the receiver side. However, the argument binding still doesn't make much sense to me, particularly for the built-in signals.
Specifically, I have a Button that needs to emit its built-in pressed() signal. It will be received by the root Node, and that works.
I see that the Connection editor allows me to add extra call arguments. I'd like to send a String variable called NAME, defined in the script for the Button, and then the root Node will do something with that String on signal.
Is this how binding is meant to be used or am I completely misinterpreting it? I haven't found the answer in the official documentation either, just that "you can bind an arbitrary number of arguments of (possibly) different types."
If I'm not misunderstanding, how do I specify that the bound argument is my NAME variable?
Alternatively, is there a way to access the Node that emitted the signal (there would be several instances in a scene), and get the NAME value that way?
Thank you :)