I am looking to address multiple sliders in the same sketch but I am not sure how to separate the events. Any help would be appreciated.
void handleSliderEvents(GSlider slider) {
maxWeight=slider.getValue();// this value should be sdr1
maxTrans=slider.getValue();//this value should be sdr2
}