Ai attack another ai

I’m looking for a way to make an AI attack another character that isn’t the player character but also attacks the player. So far I use pawn sensing to pick up my player character that works fine but when I add another character to sense it work detect it . Can I have some help please