Garry's Mod Wiki

Revision Difference

Panel:SetCaretPos#511007

<function name="SetCaretPos" parent="Panel" type="classfunc">⤶ <description>Sets the position of the caret (or text cursor) in a text-based panel object.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="offset" type="number">Caret position/offset from the start of text. A value of `0` places the caret before the first character.</arg>⤶ </args>⤶ </function>⤶ ⤶