A free iPhone “laser pointer” app called AimMac is here to take over your Mac’s cursor. With the software running, simply point your iPhone at your screen, and the cursor will land right where you aim, like you’re using a Wii remote. Tap to click, hold to drag. Or you can lay the iPhone on a desk and it becomes a trackpad for the Mac.
The developer also made versions that let an Apple Watch or AirPods case work the same was as the iPhone.