setValue()
Set the slider's value.
Moves the slider to match, and calls its update function.
Parameters
Once an object slider has been created, you can use the following function:
slider.setValue(value)
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
int or float |
required | The new value, between minValue and maxValue. |