Garry's Mod Wiki

DTextEntry:GetCursorColor

DTextEntry:GetCursorColor

table DTextEntry:GetCursorColor()

Description

Returns the cursor color of a DTextEntry.

Returns

1 table
The color of the cursor as a Color.

Example

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.

Special Pages


Wikis

?

Render Time: 61ms

DB GetPage 46
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 5