Android 11 introduces a new feature - built-in screen recording. This lets you use easily-accessible controls within the phone 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 phone, 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.
For additional set up options, go to the main menu -> “Settings” ->“Advanced features”->“Screen Recorder”