Yes, on a MacBook, you can capture a selected portion of the screen and even record it. For this, all you have to do is press the keys: Shift + Command + 5, and then choose the "Capture Selected Portion" or "Record Selected Portion" option.