How to make a box that only blocks the enemy that spawns it?

Thank you as always :smile: