pygame.Rect(top, left, width, height) # all values are integers in pixels
gameDisplay = pygame.display.set_mode((width,height))
bright_blue =(0,255,255)
# draw rectangle
pygame.draw.rect(gameDisplay, bright_blue ,(611,473,100,50))
pygame.draw.rect(surface, colour, Rect)
#Rect would be a .Rect() variable.
# get_rect() method is applied to Surfaces creating a rectangle of its shape.
import pygame as pg
surf_img = pg.image.load("some_image.png")
surf_img_rect = surf_image.get_rect(topleft=(x_coordinate,y_coordinate))
## in which topleft sets the position where the rect is placed.
## you can also use the following parameters as position arguments:
## bottomleft = (x,y)
## center = (x,y)
## topleft = (x,y)