Find all items in array?

I’m working in Blueprint and there is a a Find Item in Array node but that gives out only the first found item and I need to find all instead which could also be done with a for loop but there is no node that could do it or am I missing something?

I basically have a array with all y locations and I need to get all items that matches the same y. I can’t remove any items from the array because I need the indexes to remain the same so they match other arrays were I stored other information.

You can write a simple function that performs a linear traversal and compares each element in your item array to some element of interest, if comparison passes, add the element’s index/value pair to a map, return the map.

Yea makes sense, thanks!