setValue()
Set the fader's value.
hfader.setValue(newValue)
The value is in the fader's own minValue–maxValue range. The fill moves to match, and the update function is called.
Parameters
hfader.setValue(newValue)
| Parameter | Type | Default | Description |
|---|---|---|---|
newValue |
int or float |
required | The new value, between minValue and maxValue. |