Okay here's the deal.
I got the Player and the Enemy and some walls. When the Player gets within a certain distance from the enemy, the Enemy "activates" and starts moving towards the Player with the "Start Movment" event.
BUT, the Enemy moves through the walls.
Yeas I do in fact have the line of code that says
"When the Enemy hits da wall, Stop"
But it won't, since it is always Starting the movement since the Player and the Enemy are within pooping distance.
I think you should add the line "Restrict actions for 00.05 seconds" to give the program time to detect whether it's hitting a wall or not before facing towards the player again.
what you want is a box that the enemy fits inside, but have no space, then always have its position set to the enemy puls or minus some pixels to line it up
the box must be like 5 pixels or so thick outward, and at start of level, make it invisible unless you like the box
Player is in certain distance from enemy
[negate] box is overlapping a backdrop
>>start movement