Skip to contents

Check if a mouse button has been pressed once.

Usage

is_mouse_button_pressed(button)

Arguments

button

An integer.

Value

A logical

Note

This function has been auto-generated from the following Raylib function definition:

bool IsMouseButtonPressed(int button);

Examples

if (FALSE) {
is_mouse_button_pressed(0L)
}