How to move slideshow with custom button?

Hi there i want to know how i move my slideshow with my own added buttons i want when i click on button it moves to next slide please help me! thanks

Hey
You use changeSlide method.

So in your buttons event onClick add

$w("#mySlideshow").changeSlide(2); // 

This will jump to slide 3 because the index is zero based which means that your slide 1 is called 0

I used this

export function fullWidthSlides2_change(event) {
$w(“#fullWidthSlides2”).next();
}

export function button32_click($w) {
$w(“#fullWidthSlides2”).changeSlide(4);
}

i mean i want external button to be connected with slideshow move function