Using Airplay on a computer with macOS 11 (Big Sur) or Higher
Click the Control Center icon in the menu bar, click Screen Mirroring , then choose your Apple TV. When AirPlay is active, the icon turns blue. You can read more about AirPlay on macOS 11 (Big Sur) here.

