why does the original node interfere with the duplicate node's signal?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Regret

so i duplicate a node with signals but for some reason when i interact with the duplicate node the original would instead get the signal and mess up the game

pls halp

btw the signal are in different scenes

Regret | 2019-12-12 01:35

Are you sure it is a duplicate? I had trouble when adding the node manually to the same scene twice using the editor, in that case, both my nodes were references to the same object and were interfering with each other. In my case I solved that by instantiating them by code:
load("path to node").instance()

tastyshrimp | 2019-12-12 21:44

I tried a similar scenario , but nothing went wrong really …

can you check if your signal is targeting the object it self? it should be something like this:

. :: function_name()

in the Node → Signals panel

Xtremezero | 2019-12-15 02:48