FPS Animations help

I have a mesh for the player’s arms, and a mesh for the player’s gun.
When i animate the arms and the guns, I parent the gun to a specific bone and continue on animating.
In UE4 I made a socket where that bone is. and successfully got the gun to attach*** (in blueprint)***. How can i make the gun animate too. since the animation is set to the arms’ skeleton?