Note: obj_when_cross_line, be sure its not visible or solid, so you don't stop at object that is not visible. When player cross the line, it will make Monster change direction and come toward you. The follow code is only in the Monster object that comes toward you, not the right or left sided Monster patrolling area. You also can't shot Monster that is patrolling area, because he is out of range, only when you cross line you can fire weapon,and kill the Monster that comes toward you. Timer will not work on Monster. Well it works at first, then Monster starts to move toward wall, then goes through it. Need to use a block object that is not visible, but solid, so the Monster can which images and move in the other direction. This will not effect player when coming in contact with block object that is solid. Player will go past it without stopping. It only applies to Monster right and left objects.