[ControlP5] reset variables using Slider

is there a way to reset different variables values when changing a slider value? i mean, i have like a rectangle and have 5 different animations for it, the slider is the controller that changes it. everytime i change the slider value i want to reset the original position of the rectangle. how can i do that?



Sign In or Register to comment.