Let's say you want to put the topleft corner of the rectangle to (100,100) you can just write(assuming r is an instance of pygame.Rect): r.topleft = (100, 100) ...
確定! 回上一頁