May-03-2022, 04:39 PM
i have found a quick solution, not pretty but it works
if x > 104 and x < 204 and y > 196 and y < 301: img = font.render("Entrez votre code pour d�sarmer le systeme d'alarme!", True, NOIR) screen.blit(img, (20, 100)) img = font.render("Veuillez entrer votre code pour armer le systeme d'alarme!", True, BLANC) screen.blit(img, (20, 100)) if x < 549 and x > 444 and y > 192 and y < 309: img = font.render("Veuillez entrer votre code pour armer le systeme d'alarme!", True, NOIR) screen.blit(img, (20, 100)) img = font.render("Entrez votre code pour d�sarmer le systeme d'alarme!", True, BLANC) screen.blit(img, (20, 100))