[Setting] setting = client.setting.addNamelessFloat(name, minimum, maximum, defaultValue)


Adds a float slider in the UI

Parameters


name

string

The name of the setting in the UI

minimum

number

The minimum value of this setting

maximum

number

The maximum value of this setting

defaultValue

number

The default value of the setting

Return Value


setting

Setting

The setting that was added