The built in Screenshot app that Apple gave you with macOS includes a “Show Mouse Pointer” option. Screenshot is better than a lot of other fee-based apps.
(BTW, the “cursor” and the “pointer” are two different things. So I assume you mean the “pointer”.)