I want to replace this draw rectangle function, and instead let it produce an image.
Rectangle Function:
pygame.draw.rect(pygame.display.set_mode((800,600)), black, [0,0, 100, 100])
Looking for something on the lines of this:
pygame.draw.image(**coordinatesX**, **coordinatesY**, **imagefile.jpg**)