Returns the offset for moving the button's label text when pushed

Signature:

x, y = Button:GetPushedTextOffset()

Returns:

  • x - Horizontal offset for the text (in pixels; values increasing to the right) (number)
  • y - Vertical offset for the text (in pixels; values increasing upward) (number)