Search.../

currentIndex

Gets the index of the slideshow's current slide.

Description

Note that the slide indices in a slideshow are zero-based, even though they are numbered starting from 1 in the Editor.

Type:

numberRead Only

Related Content:

Was this helpful?

Get the name of the current slide's index

Copy Code
1let index = $w("#mySlideshow").currentIndex; // 3