This function or event no longer exists in version of World of Warcraft. Please check the main API page for an up-to-date listing of the valid API functions

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.


AnimationGroup:SetInitialOffset(x, y)


  • x - Horizontal distance to offset the animated region (in pixels) (number)
  • y - Vertical distance to offset the animated region (in pixels) (number)