Mouseover in Pygame
问题 I know this title sounds a lot like Detect mouseover an image in Pygame but there's an error. I've tried following both answers from that question, but it never worked. Here is a part of my code: title = font3.render(('SQUASH!'), True, white) play = font1.render(('PLAY'), True, white) while True: for event in pygame.event.get(): if event.type == QUIT: pygame.quit() sys.exit() screen.blit((title), (400, 400)) screen.blit(play, (theposition)) if play.collide_point(pygame.mouse.get_pos()): hi =