Index of not owrking

Why cant this index of node find the same element in the list it just came from? I dont understand what I am doing wrong.

Try setting element to @1.

1 Like

I swear I tried that! but it works now for some reason. lol

IndexOf works on singletons and lists, so you have to make sure you’re specifying which is which.

1 Like