pygame get screen width and height

Solutions on MaxInterview for pygame get screen width and height by the best coders in the world

showing results for - "pygame get screen width and height"
Alejandro
03 Aug 2020
1#pygame
2w, h = pygame.display.get_surface().get_size()
3
4#w = width
5#h = height