CircleFadeHover

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

Arguments

(Optional) Color col Color of the circle

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

Example

local but = vgui.Create("DButton")
but:ClearPaint()
    :Circle(Color(40, 40, 40, 255))
    :CircleFadeHover(Color(255, 255, 255, 10), 15)
    :Text("×", "Trebuchet48")
Output:

results matching ""

    No results matching ""