Garry's Mod Wiki

Garry's Mod Wiki

  table DTextEntry:GetCursorColor()


Returns the cursor color of a DTextEntry.


1 table
The color of the cursor as a Color.


local TextEntry = vgui.Create( "DTextEntry" ) TextEntry:SetCursorColor( Color( 255, 0, 0, 255 )) PrintTable( TextEntry:GetCursorColor() )
Output: Prints the R, G, B and A of the cursor color.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...