I have instance in grid position (grid size is changeable).
I want to pick those instance which doesn't have neighbor in any direction.
How can I do this?
any direction means. pick objects which has 3 side or 2 side or 1 side neighbor. but don't pick if it has all 4 neighbors.