pygame.display.update() used for code example Example: how to update screen in pygame pygame.display.update()