display set mode return type code example Example: pygame caption pygame.display.set_caption("title")