Starting in macOS 12.3 and iPad OS 15.4, you can use Universal Control to work seamlessly across up to three of your compatible devices. Here’s how!. In this mini-tutorial, we’ll show you how to set up Universal Control on your Mac and iPad and how to use it.
To set up Universal Control on your Mac, go to “Display’s pane of System Preferences”, click Universal Control, then click each checkbox to select them.
To set up Universal Control on your iPad, go to Settings, then choose “General and tap AirPlay & Handoff”.
Then tap to “Turn on Cursor and Keyboard”. To use Universal Control, ensure you’re signed in to the same iCloud account on all your devices and place your Mac and iPad next to each other.
This works with up to three compatible devices. Now you can use a single keyboard and mouse or trackpad to move between your Mac computers and iPad and even drag and drop content.
Set up. Sign in. Control!
Source: https://youtu.be/9tRzhE-wyNg