Using iMac (24-inch, M1, 2021) as an external monitor for MacBook Pro (14-inch, M1, 2021)
I just got a new MacBook Pro (14-inch, M1, 2021) and would like to use my iMac (24-inch, M1, 2021) as an external monitor. I want to know if this is even possible? Both have the USBC ports. Do I still need the Thunderbolt cable? I've connected both with the USBC but nothing is working. I would love a step by step guide. The apple support page is not very helpful. (Connect a display to your Mac - Apple Support)
iMac 21.5″ 4K, macOS 11.4