How to match the projectile spawning and attack animation of Fireball throwing enemy AI

I want my enemy ai to throw a fire ball at me and I tried something but FireBall projectile is not spawning relative to attack animation .So how to fix this ?

I am not using anim montage
I have added attack anim in animBP

Hi, you can also do it via notifies that trigger inside the animation blueprint Animation Notifications (Notifies) | Unreal Engine Documentation

hey Thanks
i will go through the documentation and if i still couldn’t get it , I will let u know soon

Now i got it right, thanks a lot