Connect multiple nodes in Blueprint

Hi guys, a simple question (or maybe a suggestion). Is there a way to connect multiple nodes at once in Blueprint? For example if I have 20 variables (meshes) and I need to connect them to a visibility node i have to do it one by one. If this is not possible Is there another way to do it faster?

Thanks!

you should be able to connect them all to the visibillity node actually

Hi g0mo,

You can connect them to the same node it seems. Pretty sure that wasn’t the case until recently.
But the correct, programmatical way to do it is through iteration ie loops, as shown below in the second case, if i understand your question correctly. Let me know if this helps.

Hi guys, thanks for the answers. I think I explain myself in a wrong way. I’m gonna try to explain it with this example:

I have 5 variables (A, B, C, D, E) and i wanna connect them to a “Set Material” Node, because this 5 variables use the same Material.
The simple way is create a “Set Material” Node and then plug every variable to this Node in the “Target” connection. When I have 5 variables, is easy to connect one by one to this “target”. But if I have, for example, 50 variables and I need to connect them to this “target”, doing it one by one is a lot of work.

My question is if exist a way to select this 50 variables and then select the “Set Material” node and press a key (when they are highlighted) and they connect automaticly to the “target” connection. With this way, I avoid to do it 50 times.

Thanks!

As much as i have used blueprint, never seen that.Admittedly, i use very few hotkeys anyway. If it were a case of 50 variable, and you could filter them from an array, store them and use a loop. otherwise maybe reroute nodes if you feel you need to place that many references, but i would suggest that its not a clean solution.

With that many things to modify you’d probably be better off using an array for your variables and a for each node to change the material. Or you could create a data table if you really wanted to.