instructivos draw.rect python code example Example: pygame draw rect syntax pygame.draw.rect(SURFACE, RGB_COLOR, (X, Y, WIDTH, HEIGHT))