Restrict the camera on Z Axis in 2D side Scroller

Thanks Kristian, sorry for the late reply but I only just saw this now. Better late than never!