HELP: How to make slider button

hi! How do you make a slider with buttons on each side that control the movement of the pointer? Thanks!

@TfGuy44 @CodeMasterX

Hi and welcome

Search the forum you can find many examples

Read this Link there is sliders included in some examples

You have a couple of options

  1. Create the controls from scratch
  2. Use one of the contributed libraries. Both G4P and controlP5 are long established and well supported libraries.

If you go for (2) then and if these libraries don’t have the exact control then you can simulate it with a slider and two buttons. In the button event handlers you can change the slider value and hence move the thumb.

You might look at some examples.

In Processing select File > Examples and in the popup window select Topics > GUI try the examples and try and understand the code.

1 Like

See jafal’s link above please