[Setting] setting = client.setting.addFloat(name, variableName, minimum, maximum)


Adds a float slider in the UI

Parameters


name

string

The name of the setting in the UI

variableName

string

The name of the global variable that contains the setting value

minimum

number

The minimum value of this setting

maximum

number

The maximum value of this setting

Return Value


setting

Setting

The setting that was added