How to limit 2 differnet cameras

hello …
iam working on a third person project and i want to change the camera when crouch i did that but i want to limit camera rotation while crouching but not while standing anyone can help me ???

I’d use a custom Player Camera Manager for this. Once it is set up for your projects (it’s easy, there are guides here on answerhub)… you’d get a reference to it with GetPlayerCameraManager in your Player Controller or Player Pawn, there you can manually set the camera rotation axes limits in pitch/yaw/roll depending on whether your are standing or crouched

thanks for replaying to me but i tried this and it did not work … it limits the rotation for both cameras