In the QuickTime Player app, go to Screen Recording and then select New Screen Recording. There, you can customize the location where you want to record, as well as the type of recording that will be used.