Object/Quad Intersection - getSlice Index from Toggle Spread

I want to detect intersections between a quad an objects and highlight the intersecting objects. But I’m struggling getting the right getSlice index from the “=” node that is used so compare the z positions of the plane and the objects. Probably there should be a kind of conversation node between the toggle and the getSlice that converts 3 slices into 1 slice with counting numbers… Not exactly sure how to get this working or if I’m heading in the right direction. Patch attached.

test…_.v4p (14.8 kB)

try substituting GetSlice with Select (Value Vector).

mod_test…_.v4p (16.1 kB)

This is exactly what I was looking for! Many thanks!