Sets the offset of the font instance's text shadow from its text

Signature:

FontInstance:SetShadowOffset(xOffset, yOffset)

Arguments:

  • xOffset - Horizontal distance between the text and its shadow (in pixels) (number)
  • yOffset - Vertical distance between the text and its shadow (in pixels) (number)

Examples:

-- Moves the text shadow in the default text font further than normal from the text
-- (5 pixels right and 5 pixels down instead of 1 pixel right and 1 pixel down)
ChatFontNormal:SetShadowOffset(5,-5)