[GN] How to select whole instances based on position?

If we have some instances, how we can select them based on position?
As an example:

Position before realizing them, will not work, but after realize i didnt find a way to select whole instance (whole mesh) instead of separate polygons or points.
I was believe what Evaluate at Domain (instance) would help somehow, but not sure its the right way.

@SoundDifferent

Hey,

You need to store a named attribute, before you realize the instances, then read that after realizing the instances. To ensure the data is related to the instance as a whole ‘unit’ and not the individual vertices ( points), you must specify that it’s the instance domain you are storing the data for ( rather than the points )…

see highlighted red boxes.

My file [ blender4.2.2 ]:

Select_By_attribute.blend (1.0 MB)

Cheers,
Dj.

2 Likes

Oh! It was really simple. Thank you :slight_smile:

I was also figured out such way:

1 Like