Position Targeting

I need some way to have an actor (boss) target another actor (falling object) with the lowest position on the screen, move over it by moving along the X axes and fire one shot at it to destroy it. It then finds the next lowest position actor move left or right above it then fire a shot at it. Then repeat. Boss is at the top of screen, the falling object starts from the top and falls to the bottom.