Press ESC to close

how to check if an ai si rest or not