Connecting a 2019 iMac to a 2020 M1 MacBook as second screen
I have a 2019 iMac 27" running Big Sur.
I have a 2020 13" MacBook Pro M1 running Big Sur.
I would like to use the iMac as a second screen for the MacBook.
What cables/connectors/software do I need to achieve this?
Thanks
MacBook Pro