.$mid

Change anchor point (x,y) to middle

.$mid()

Example:

craft.$sprite('main')
.$mid(); //same as sprite.anchor.setTo(0.5,0.5)