FadeHover

Draws a box which fades in over the panel when hovered.

Arguments

(Optional) Color col Color of the box

(Optional) Number speed Speed at which it will fade in

(Optional) Number rad Corner radius for rounding

Example

local but = vgui.Create("DButton")
but:ClearPaint()
    :Background(Color(255, 255, 255, 15))
    :FadeHover(Color(100, 200, 100))
    :Text("Push me!", "Trebuchet18")
Output:

results matching ""

    No results matching ""