S = thisLayer;
x =transform.position[0];
y =transform.position[1];
rect =S.sourceRectAtTime(time,false);
y_offset = rect.height/2;
[x,y-y_offset]
S = thisLayer;
x =transform.position[0];
y =transform.position[1];
rect =S.sourceRectAtTime(time,false);
y_offset = rect.height;
[x,y-y_offset]