Need help with slider

So I have a slider and it works and all but how do I get the output to be used as a variable? basically when I move the slider it supposed to change the angle of a force but its not working.
thanks

1 Like

can you show your code please?

are you using controlp5? Check its examples (website: processing GUI, controlP5)

1 Like