FillHover

Fills in the panel from a specific direction when it is filled.

Arguments

(Optional) Color col Color of the fill

(Optional) Number dir Direction which the fill will move in from, uses DOCK enums

(Optional) Number speed Speed at which the fill will move in at

(Optional) IMaterial mat Material of the fill

Example

local but = vgui.Create("DButton")
but:ClearPaint()
    :Background(Color(255, 255, 255, 15))
    :FillHover()

results matching ""

    No results matching ""