Camera Y axis movement not working

Hi, Im trying to make a camera movement with the enhanced input system, however the Y axis is not working. Here is the blueprint, mapping context and action setup:



it might be a little stupid question, however im a beginner

If you have the Camera attached to a Spring Arm, select the Spring Arm and enable Use Pawn Control Rotation under Camera Settings.
image

If you don’t have a Spring Srm, select the Camera and check Use Pawn Control Rotation under Camera Options
image