Android 11 introduces a new feature - built-in screen recording. This lets you use easily-accessible controls within the device to create a video of what’s happening on your screen, similar to take a screenshot. You can even record the sounds produced by your device, or use the mic to narrate what you’re doing.
Swipe down to access the quick settings from any screen, and then click the “Screen recorder” icon to create your recording (slide to the left to view it on the second page).
For additional set up options, go to the main menu -> “Settings” ->“Advanced features”->“Screen Recorder”