Send same signal to multiples duplicants

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

In my proyect, I have a lever that, when is pulled, it sends a signal to a plataform to activate it so you can step on it when you do so. The problem is that when I duplicate the plataform only the origial is the one that receives the signal and get activated. How can I do so all the plataforms receive the same signal? Do I have to use groups? How? I am just starting with Godot so I am kinda confused.

Maybe you should post your code for us to figure out what you are doing wrong.

magicalogic | 2021-05-31 04:37

Did you connect the signal to every duplicate?

exuin | 2021-05-31 04:49

That is my question, do I have to connect the signal to every duplicate? It is a plataform so I have tu duplicate it too many times per level and then connect the signals to each plataform and that will take me ages. Is there another way to solve this?

unlocked | 2021-05-31 18:09

Yes you need to connect the signal to every duplicate, but it should only be one line of code.

exuin | 2021-05-31 19:53