GameMaker display_mouse_get_x alternative for Linux and Mac?

is there any other function that can work with mac and Linux that works like display_mouse_get_x
in the manual it says its a windows only function. Im trying to use a custom top bar for window dragging, but none of the other mouse functions returns the true mouse position even when outside of the window.
 

Nocturne

Friendly Tyrant
Forum Staff
Admin
Have you tested "display_mouse_get_x/y" on those platforms? If not, then maybe give it a test as the functions may have been updated to work on all the desktop platforms and the manual is in error. If it definitely doesn't work then I'm afraid there is no such built-in function for those platforms that will do the same thing.
 
Top