Sets a static translation for the animated region. This translation is only used while the animation is playing.
For example, applying an initial offset of
0,-50 to an animation group which fades the PlayerPortrait in and out would cause the portrait image to jump down 50 pixels from its normal position when the animation begins playing, and return to its initial position when the animation is finished or stopped.
x- Horizontal distance to offset the animated region (in pixels) (
y- Vertical distance to offset the animated region (in pixels) (