Garry's Mod Wiki

surface.GetTextPos

  number, number surface.GetTextPos()

Description

Returns the X and Y co-ordinate that has been set with surface.SetTextPos or changed by surface.DrawText.

Returns

1 number x
The X integer co-ordinate.
2 number y
The Y integer co-ordinate.