getFrameIndex

open fun getFrameIndex(): Int

Returns the current frame index in the range 0..getFrameCount - 1, or -1 if no frame is displayed.