Index OperatorBasic Parameter
The reason why the ObjectIndex node exists is because when you are using iterators, you cannot directly find out the index, i.e., at which part of the loop the iterator is currently located. The ObjectIndex mode allows you to find out the index, thus enabling you to, say, single out a specific element within the iteration loop.
Connect the Instance output port of the iterator to the Instance input port of the ObjectIndex node.
Next, connect the Compare node’s output to the input port of the node that sets the position for the cubes (see above). Now, when the index reaches 2 during the iteration, the Compare node will switch off the position assignment and the third cube will not have its position changed.