al_get_mou...r_position(3)
al_get_mou...r_position(3) π β Library Functions Manual
πΈ NAME πΈ
al_get_mouse_cursor_position β Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_get_mouse_cursor_position(int *ret_x, int *ret_y)
π DESCRIPTION π
okay bestie, so on platforms where this info is actually available, al_get_mouse_cursor_position returns the global location of the mouse cursor, relative to the desktop. Iconic, but also very specific. π±οΈβ¨
bestie, listen: you should not normally use this function. The info isn't useful except for special scenarios, like moving a window. It's giving "niche main character energy" β powerful, but only for that one situation. π
It returns true on success and false on failure. Simple as that. π
π¦ SEE ALSO π¦
that's the whole page, bestie π β footer vibes: source/version is the Allegro reference manual, and no date is printed here. bye, ily, go move a window or something π«Άβ¨
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms