How can I make my camera not move vertically with my character in 2D sidescroller

Hi everyone,
I’m new to the Unreal Engine, been watching tutorials and have started prototyping a 2D Side scroller endless runner, I’m having trouble making my camera not jump with my character and make it so it only moves horizontally,
Thanks in advance!