Overlapping Actors

Hi there! I’m trying to make a city building game where I place objects on a grid. I have worked the grid, however the problem I’m having is I can’t get my buildings to detect other buildings properly when placing it.Here is what is happening in game with my current blueprint.

This is my current blueprint I’m using to detect it. It’s being called by an event tick and I want it fire true if it is overlapping and false if it is not. I thought this blueprint would check if the mesh is overlapping itself, but it doesn’t seem to be working, it always fires false even if overlapping.

You might suggest I use an event for begin and end overlap to do this, but I have tried and it doesn’t work. Here’s a little diagram showing why…

If two tiles are placed side by side then the event end and begin will trigger at the same time resulting in the variable being set to true. Is there a way around this that anyone can think of? Preferably something that detects when an actor is hitting or overlapping another actor, thanks! Sorry if it’s confusing!

Also my collision is set to blockalldynamic

I was able to get it working using this setup :slight_smile: