UI_get_slider_value
![[Exult]](images/exultsm.png)
int UI_get_slider_value(object item, int field_id)
int item->get_slider_value(int field_id)
Returns the current value of a slider widget within a dynamic gump.
Parameters
| Parameter / value | Description |
|---|---|
item |
The object whose dynamic gump contains the slider widget. |
field_id |
The numeric identifier of the slider widget to read. |
Return
The current slider value, or 0 on failure (e.g. if the gump is not found or the field does not exist).