Moving actor components on timeline?

Basically I have a set of gun static meshes pieced together in a blueprint. I want to move the slide back and forward again when the player left clicks. I think I can do this just using a timeline. I am just not sure how to implement it. Literally just moving the x coordinate back and forward.

Like this: