Okay, hopefully, this is the right place to post this. I have enemies on my map set to approach the player. When the enemy touches the player this causes damage. This works properly however I cannot for the life of me figure out how to make an enemy, in this case, a ghost pass through an object such as a wall but still damage the player upon touching them. I have set the enemy as an event and turned on through in options but, that causes the enemy to also pass through the player not triggering the event. Any help would be greatly appreciated. I looked everywhere for an answer but so far have been unsuccessful.
EDIT: So I was able to get it to work by placing the ghost above character now once it touches the character and the player moves the damage is taking place. If there is a better method I would love to hear it.