how to get fps on pygame code example Example 1: pygame how to regulate fps clock = pygame.time.Clock() Example 2: pygame get fps pygame.time.Clock.get_fps()