Garry's Mod Wiki

chat.GetChatBoxPos

  number, number chat.GetChatBoxPos()

Description

Returns the chatbox position.

Returns

1 number
The X coordinate of the chatbox's position.
2 number
The Y coordinate of the chatbox's position.

Example

Prints the x and y coordinates of the chatbox.