If you name your loopindex, you should address it by name.
If you aren't running multiple loops, which you don't seem to be doing, skip the name and just use loopindex.
Also, run from 0 to InvArrayMaxSize-1
(Not sure where you got the 0.0 from, that won't work).
Develop games in your browser. Powerful, performant & highly capable.
Oh, I'm so happy now. And what a bummer from my side. I have mostly used 'Repeat' so it never occurred to me to add the ("j")to the loopindex. Thanks man!