Setting up iMac as second display/monitor
I currently am using a 5K Retina, 27-inch, 2019 iMac (Version 10.14.5) and am trying to use an old iMac as a second display/monitor. My old iMac is a 21.5-inch, Late 2015 iMac (Version 10.13.6). I tried going into the admin user on the old iMac and pressing Cmnd-F2 but nothing happened. The two computers are connected by a thunderbolt cable (compatible with the old iMac) and a Thunderbolt 3 to Thunderbolt 2 Adapter (to be compatible with the new iMac). Nothing seems to be happening and I have searched everywhere in the settings and online and cannot find a solution. Please let me know if you know how to fix this. Thanks.
iMac 27", macOS 10.14