al_hide_mouse_cursor(3) al_hide_mouse_cursor(3)

al_hide_mouse_cursor - Allegro 5 API

#include <allegro5/allegro.h>
bool al_hide_mouse_cursor(ALLEGRO_DISPLAY *display)

Hide the mouse cursor in the given display. This has no effect on what the current mouse cursor looks like; it just makes it disappear.

Returns true on success (or if the cursor already was hidden), false otherwise.

al_show_mouse_cursor(3)

Allegro reference manual