Can I add capsule component in the animation blueprint ?

My question is Can i add a capsule or something like that in the NPC animation blueprint so that when my playable character enters it the NPC changes its animation and when i leave it the NPC plays its basic animation, I have tried to add a capsule component and add to it when character begin overlap node but I couldn’t find that instruction to add the capsule. If it is impossible to add a capsule then is there is anther solution or way to change between the NPC animations.

You have to put the trigger on the npc character, and the npc character communicate with the animation blueprint that the npc has.

You can communicate with the current animation that the npc has with “Get anim instance” from the mesh