Get mouse coordinates in Mac Catalyst

Viewed 73

I saw a similar question for AppKit (Getting Mouse Coordinates in Swift), but it doesn't work in Catalyst because NSViewController is not available.

How do I get the coordinates of the mouse in Mac Catalyst?

0 Answers
Related