Instead of a For Each loop use a For Loop with first index = 0 and last index = [array length - 1]. Take the output index and connect it to a get node.