import pygame import sys pygame.init() color_dark = (100,100,100) color_light = (50,50,50) display = pygame.display.set_mode((800,800)) small_font = pygame.font.SysFont("Corbel", 16) text = small_font.render("LOAD", True, color_light) while True: for event in pygame.event.get(): if event.type == pygame.QUIT: pygane,quit() sys.ext() mouse = pygame.mouse.get_pos() if event.type == pygame.MOUSEBUTTONDOWN: if 590 <= mouse[0] <= 670 and 315 <= mouse[1] <= 345: print("Button clicked!") display.blit(text, (600,320)) pygame.display.update()