I have asked similar question not the same. So what I want is… I have tank and other similar enemies. They will have topdownmovment behavior, the need to destroy the base of the player. That the basic function (Note: these enemies will get produce out side of the screen, all four sides). They player have the option to secure any two sides, by placing a wall on that side. Now I want the enemies to constantly aim at the base and be smart and avoid the wall by moving to a different position so they can attack the base. Now I can create the mechanism for it but it will be really complex and the enemy will not be that smart and organic. I know the some of you can create a lot simple and a lot efficient logic for it. So please help me.