GameObject follow animation

I’d like the GameObject which contains my muzzle flash to follow my guns recoil animation when it fires. How can this be achieved? Is there some sort of mesh specific transform I can access?

currently, your muzzle flash spawn on your gun barrel, but has no parents ?
You could parent your muzzleflash to your gun pivot

or maeby add a transform / (a empty game object) on your gun barrel, and parenting the flash to the transform

you could add a transform on your barrel, and move it in your animation