pygame draw filled rectangle code example Example: pygame how to draw a rectangle pygame.draw.rect(DISPLAY,BLUE,(200,150,100,50))