#How do I send a signal to only a specific node instead of all the connected ones?
1 messages · Page 1 of 1 (latest)
that's not how signals work. they always call every connected function when they emit. if you want to have a signal call only 1 function, connect that signal to only that 1 function. or you could emit a receiver code that the connectionis use to tell if the signal was for them
Or get a reference to the node with the function and call it directly, without signals
Yeah I ended up doing it by emiting the name of the object I just didn't know you could do that
Yes you can send all sorts of parameters with signals 😃 : https://docs.godotengine.org/en/stable/getting_started/step_by_step/signals.html
In this lesson, we will look at signals. They are messages that nodes emit when something specific happens to them, like a button being pressed. Other nodes can connect to that signal and call a fu...