Stuff
public text v1 · immutableimport sys, pygame,time
from pprint import pprint as ppr
pygame.init()
size = width, height = 320, 240
speed = [1,1]
black = 0, 0, 0
screen = pygame.display.set_mode(size)
ball = pygame.image.load("ball.gif")
ballrect = ball.get_rect()
ppr(ballrect)
while 1:
time.sleep(1)
ballrect = pygame.mouse.get_pos()
ppr(ballrect)
screen.fill(black)
screen.blit(ball, ballrect)
pygame.display.flip()