Garry's Mod Wiki

Revision Difference

Panel:GetCaretPos#510525

<function name="GetCaretPos" parent="Panel" type="classfunc">⤶ <description>Returns the position/offset of the caret (or text cursor) in a text-based panel object.</description>⤶ <realm>Client</realm>⤶ <rets>⤶ <ret name="" type="number">The caret position/offset from the start of the text. A value of `0` means the caret sits before the first character.</ret>⤶ </rets>⤶ </function>⤶ ⤶