I just cannot make sense of it, nor find any documentation on it, how do you use this node?

I want to make a for loop that samples particles by index and returns their position, something like this.
But it complains about me trying to get the index before it’s created or something along those lines.

