Camera rotation limit on mobile build?

Hey guys!

I’m making a level for a mobile device, and I want to be able to limit the camera pitch when moving around. I’ve managed to make it work with the mouse (picture below, cameralimit_1) which uses the InputAxis Lookup event, but the mobile it uses InputAxis LookupRate event and I’m a little lost at how I should solve it. I’ve had a look through the examples and been trying to look for an answer here, but I haven’t found a clear answer.

Could anyone help me out with the blueprint?

Thanks in advanced!

To clarify: I want to set max/min pitch value on the player camera

Break the camera rotation, use a “clamp float” node on the pitch value to limit its value to certain bounds then make a new rot for the camera.