Constrain camera to X axis

Hello, i’m inexperienced with blueprint and programing in general, so forgive me if this is something simple.

I’m trying to have my player character move on the x and y axis, but have a third person camera that follows only on one axis, specifically the Y.

I’ve so far separated the camera from the player, and have the camera tracking the player, but I’ve only been able to have the camera follow the character on all axis.

Attached is my current camera blueprint.
The blue print class is a pawn.

Thank you for any help that can be provided.