List IndexOf not returning correct index

I’ve hit a wall with calling the correct reference index items from another list.

Third list second item should return index 1. However Dynamo is outputing index 0.

Any support would be much appreciated!

@shkattii I would suggest you take a closer look at how that node functions.
(look at the pairs of colored circles)
It is supposed to show 0 based on how you connected the inputs.

Try swapping the inputs and see if that is something that you require.

1 Like

Brilliant, it was just a swap! Thank you heaps

1 Like