# How to define axis of Sprites in a CCAnimation?

I'm struggling to find how to define a kind of axis in my frames, when my sprite punches it moves back. I want to define the head as a pivot for the other sprites with different sizes.

How can I accomplish that?

What Jamornh suggests is a good solution, but might be problematic if you already have most of the content finished. What I do in my game engine, is that I have a property Vector2 Sprite.CenterPoint in my Sprite class. This stores the location of the sprites rotation center, relative to the upper left corner of the sprite. A similar property could store the coordinates of the center of your character's head, or center-of-gravity. When switching between the character's sprites (during an animation, for example), you can translate the sprite by taking this point into consideration.