Controlling a sequence of frames with a playhead


I’m designing prototype to show how a playhead controlled by a thumb gesture could provide exact frame by frame controls based on varying long press.

Is there a way to map the y position of a playhead control to a sequence of images within a component?

Any help much appreciated