Move your cursor to pan and rotate the camera. Hold space or click to zoom out.
I always wanted to use a camera rotation variable for things and just figured out how to do it! You can use this if you're looking for an easy way to do it. The code for the rotation will have a comment attached to it to let you know how it works.