Through the array, you would directly access the values of the object, in this case I suspect it would be something like:


network[i].x


But that's a guess without full code