sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。sprite.y = 400;//设置 sprite 对象相对于父容器的垂直方向坐标值。以上写法可以直接这样:sprite.pos(200,400);