Skip to contents

Check if application should close (KEY_ESCAPE pressed or windows close icon clicked).

Usage

window_should_close()

Value

A logical

Note

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

bool WindowShouldClose(void);

See also

Other close functions: close_audio_device(), close_window()

Examples

if (FALSE) {
window_should_close()
}