import pygame class spritetest(pygame.sprite.Sprite): def __init__(self,rect): pygame.sprite.Sprite.__init__(self) self.rect=rect self.image=None a=spritetest(pygame.Rect((0,0),(1,1))) b=spritetest(pygame.Rect((0,0),(5,5))) d=spritetest(pygame.Rect((0,0),(15,15))) e=spritetest(pygame.Rect((0,0),(20,20))) #b.topleft=a.topleft #print b c=pygame.sprite.RenderUpdates() c.add(a) c.add(b) c.add(d) c.remove(a) c.add(e) for q in c: print "Object %s has the value %s"%(q,q.rect) #notice how it appends it to the beginning of the list instead of the end rj@feistylolz:/media/stuff/School/Python/pylaga-.11$ python recttest.py Object has the value Object has the value Object has the value