.\" Automatically generated by Pandoc 3.1.3 .\" .\" 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_mouse_button_down" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_mouse_button_down - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_mouse_button_down(const ALLEGRO_MOUSE_STATE *state, int button) \f[R] .fi .SH DESCRIPTION .PP Return true if the mouse button specified was held down in the state specified. Unlike most things, the first mouse button is numbered 1. .SH SEE ALSO .PP ALLEGRO_MOUSE_STATE(3alleg5), al_get_mouse_state(3alleg5), al_get_mouse_state_axis(3alleg5)