Obtain value
To get a value of range bar, we can use following function.
ui_range_get_value (control);
Return: Real
Argument control is the handle of ui_range_create(...);
function.
global.volume = ui_range_get_value (volumeBar);
Scored on the volumeBar range bar and save it into a variable.