Boundaries for Camera Movement

I’m moving my Camera with Touch and here’s the Code -

My Camera is Moving away from the play area,I want to restrict it’s movement.
So,How do i set Boundaries for my Camera Movement?

Thanks in advance.

after translation clamp it’s position to whatever bounds you want.