setOffsetInPixels

Hi!
There is an animation that consists of different frames(different by size and position). To play it correctly I need to shift each frame to a new position. I’ve found setOffsetInPixels. But when I played the animation I had created, I saw that frames were playing incorrectly: there was no any shift.

Could anybody help ?

Thank you.