Button

UI:Button(<string> ButtonName, <string> ButtonDescription, <func> Callback)

Parameters

Parameter

Type

Description

Default

ButtonName

string

Name of the button

"Button"

ButtonDescription

string

Description of the button

""

Callback

function

Callback function

function() end

Example

UI:Button("Button", "Button description", function()
    print("Button")
end)

Last updated

Was this helpful?