Sorry about the vague subject. I don't really know what this mechanic is called.
See the crates scattered in various formations? I'm trying to make it so when one is triggered, such as being hit, stepped on, bumped into, etc. that it will automatically know how to trigger the entire group by checking each crate for others one tile next to them in all 8 directions. Each crate is a separate sprite object.