Slider programmatic update

Hi there,

I am looking to programmatically update position of a slider. I would like to have the slider manual user action, but also step the slider in response to a button press.
Is this possible or do I need to re-create the slider each time I update it?

This worked!

function updateButtonState() {
    if (buttonState == true) {
      buttonState = false;
    } else {
      buttonState = true;