Hard to say — Maybe provide a capx example to better explain what you want
But from what I can gather, you want to use the Is Between Angles, or Is Within Angles conditions. Then go to the Game Over Layout
Or simply try using Turret Behavior https://www.scirra.com/manual/152/turret, it's pretty cool