SquareCheckbox

Makes a square emit from the center of the checkbox and radiate outwards when the checkbox is checked.

Arguments

(Optional) Color inner Inner color of the checkbox (foreground which will fill it up when checked)

(Optional) Color outer Outer color of the checkbox (background)

(Optional) Number speed Speed at which the checkbox will be filled in

Example

local box = vgui.Create("DCheckBox")
box:ClearPaint()
    :SquareCheckbox(Color(39, 174, 96))
Output:

results matching ""

    No results matching ""