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