Get your scrolling on with this demo. Use the left and right arrows to move. This program uses two tree sprites to achieve the scrolling effect (see code). A more advanced version is here: https://scratch.mit.edu/projects/219294753/.
More information about scrolling is here: https://en.scratch-wiki.info/wiki/Scrolling_(sprites)