Camera Collision


I have placed Camera on the scene and

Have Controller (with controllable platform) - i can move it left-right

It spawns in front of the camera and everything goes well BUT it goes out of the borders of the camera like this

Of course i can add there some obstacles like wall, and my platform won’t go out of the camera but i don’t want add walls.

What should i do to create borders in this camera as collisions?