This explains how to do it with either the screenshot toolbar or QuickTime:

https://support.apple.com/en-gb/HT208721

//

sumudu.me.