I don't understand what you mean. Try write this to not spawn on parameter: impassable events
This way it won't spawn on a tile that is occupied by an event that isn't Through ON.
There are a lot of other ways to achieve the same result but it's really up to your eventing skill.