How to fix Camera limitations when i move around?

I been follow some guides and i make a system where the camera has a limitation to move left and right up and down and when it stop moving the mouse or the stick from the controller it move to the center position but when i move to a difrent direction from the caracter the camara keep looking to the north due the limitations that i make

how i can make it so the camara when i move back like to South direction or in reality will be a new direction can apply as well the limitations of the camera directions?

my goal is that i am trying to make a player that has a “Freelook” camera like tarkov or fps but the movement is like the old dungeon crawlers

Extra information I remove from the BP the Use Controller rotation Yaw so the Camera can move freely from the body i am using the Basic Thierd Person Example working on the game project right now On 5.2.1

Pretty much i am trying to do like a Movement grid like old dungeon crawler like here is and idea where you move on grids right? and you can move Left Up Down Right and Rotated to left and Right I still haven’t work on any of this part due i am focus on get the camera free look working correctly first