Stopping range of motion

I have my camera mounted to the wall in my great room. It is set on pan scan and motion detection. I have a 32gb card in and it’s set to continually record. Most of the time it will turn and face the wall. How do I set the range of movement to not include the wall behind the camera?

You can activate Pan Scan with a single waypoint so it will always return to that point when it’s not tracking motion.