Garry's Mod Wiki

Panel:GetCaretPos

Description

Returns the position/offset of the caret (or text cursor) in a text-based panel object.

Returns

1 number
The caret position/offset from the start of the text. A value of 0 means the caret sits before the first character.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 12