Animate Anchor Point without moving a layer

a = transform.anchorPoint;
p = transform.position;
x = p[0]+(a[0]-width/2);
y = p[1]+(a[1]-height/2);
[x,y]
Recommended Posts

Start typing and press Enter to search