Stop timeline progress arbitrarily

I’ve searched for this and all I can find is how to use the stop() command, which isn’t what I need.

I’m working entirely on the timeline, which has 20 seconds or so of content. Is there a function I can attach to a button that will make the animation stop wherever it is on the timeline (say, 7 sec. or 12 sec. or 19 sec.) at the point when the button is clicked?

Thank you,