Making a group of birds

Hi guys, i created an idle and a fly animation of a bird and i would make a bird that fly away when you walk in his direction, but I don’t know how do that… could someone explain it to me please?

Create a trigger sphere around the bird, everytime something “scaryable” overlaps it, you starts to play the fly animation while moving it away from player

Thank you very much!