At its simplest, an Automated Sentry Gun is an automatic blaster controlled by a simple Droid Brain. The most advanced examples are practically War Droids in their own right. They are positioned at strategic points across the battlefield and monitor their field of fire for movement or other stimuli. When enemy units are spotted within range, the guns open fire. Most such guns are equipped with Identify Friend or Foe (IFF) systems that allow allied units to enter the gun's field of fire without being shot.