Drawing area outside of the rendering area

I’m not really sure if anyone has asked about this yet, but here I go, I suppose.

What if the area you could draw in could be larger than the area that’s rendered? For example, if I wanted to make a background scroll across the screen, I could draw the canvas outside of the camera’s area, then drag it across.

Example animation:

moving_camera_house