For some time now, I have been working on a little project. It is a platformer but it is more like a 2d version of Devil May Cry (PS2). Problem is, I don't know how to make it so the enemies cant see through walls. I want their field of vision stopped when it hits a wall. I am intermediate at flash, and I have no clue on how to fix this problem. If anyone could help, I would gladly put you in the credits.