Hi everyone o/ I'm coding a top down game where enemies follow the player if they're close enough to it. I'm using this code: this works pretty fine, but when an enemy with this code is surrounded by walls and have no possible path to follow, it just disappears! My game'll have some places, like fences/walls where some enemies'll be placed inside. Like this: How could I define, like, if this enemy is surrounded by the obj_Solid (which is my wall obj.), it ignores the Target and sets the "IsFollowing" variable to false?