What can I use in place of NSCursor.currentSystemCursor?

I just noticed that NSCursor.currentSystemCursor is deprecated starting in macOS 15. What method should I now use to get information about the current system cursor, including its image?

Can you provide some more details about your use case?

What can I use in place of NSCursor.currentSystemCursor?
 
 
Q