Raylib.Window.should_close – raylib Reference Manual
Packages
raylib
Raylib
Window
close
get_position
hide
init
is_fullscreen
is_hidden
is_minimized
is_ready
is_resized
set_min_size
set_monitor
set_position
set_size
set_title
should_close
toggle_fullscreen
unhide
should_close
Description:
[
CCode
( cname =
"WindowShouldClose"
) ]
public
static
bool
should_close
()
Check if KEY_ESCAPE pressed or Close icon pressed