# Why all wires of node in node.wires\[0\]?

**URL:** https://discourse.nodered.org/t/why-all-wires-of-node-in-node-wires-0/51555
**Category:** FAQs
**Created:** [27 September 2021 05:33 UTC](https://discourse.nodered.org/t/why-all-wires-of-node-in-node-wires-0/51555 "2021-09-27T05:33:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Roman](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Roman](https://discourse.nodered.org/u/Roman)
#### Post date: [27 September 2021 05:33 UTC](https://discourse.nodered.org/t/why-all-wires-of-node-in-node-wires-0/51555/1 "2021-09-27T05:33:26Z")

</div>

Are there some circumstances to have array of arrays of wires? In which cases wires can be in node.wires[i], where i\>0?

---

<div class="post-metadata">

### Author: ![Roman](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@Roman](https://discourse.nodered.org/u/Roman)
#### Post date: [27 September 2021 05:46 UTC](https://discourse.nodered.org/t/why-all-wires-of-node-in-node-wires-0/51555/2 "2021-09-27T05:46:33Z")

</div>

Wires prop as array of arrays is used when node has multiple outputs. through node.wires[0] will be sent messages of first output, through node.wires[1] of second output, etc.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [11 October 2021 05:46 UTC](https://discourse.nodered.org/t/why-all-wires-of-node-in-node-wires-0/51555/3 "2021-10-11T05:46:52Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
