Runes of Magic Wiki
Advertisement

Sets the text color of a widget

Elem:SetTextColor(r,g,b)

Parameters[ | ]

Arguments[ | ]

Button, EditBox + child classes
r,g,b (optional)
decimal number - values between 0 and 1
no number -> fallback to "1"

Returns[ | ]

nothing

Example[ | ]

/run Elem:SetTextColor(1,0,0)
/run Elem.SetTextColor(Elem,1,0,.5)
Advertisement