.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_mouse_cursor_position" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_mouse_cursor_position - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_get_mouse_cursor_position(int *ret_x, int *ret_y) \f[R] .fi .SH DESCRIPTION .PP On platforms where this information is available, this function returns the global location of the mouse cursor, relative to the desktop. You should not normally use this function, as the information is not useful except for special scenarios as moving a window. .PP Returns true on success, false on failure.