In the QuickTime player app, go to Screen Recording and select the tools that you want to record.