Add a “clamp” node that clamps the X value of the vector to the minimum/maximum X coordinate you want the camera to be able to move to.
Add a “clamp” node that clamps the X value of the vector to the minimum/maximum X coordinate you want the camera to be able to move to.