Press Command + Shift + 5 to open the screen recording options and select your recording preferences.