How can I pause/resume a Material Flipbook?

I’m trying to pause a Flipbook and resume it on a button press. I’d also like to control the speed of it, which I’ve been successful at.

I have the texture and flipbook setup. I’ve tried using the “TimeWithSpeedVariable”, the “Time” input data and the outputs of those, but I haven’t had luck. The flipbook stops but goes to frame zero, so it doesn’t actually pause.

Does anyone know what the best way to go about this is? I’m a little in over my head with materials as is, and any help would be appreciated!

instead of using the time node, simply use a scalar parameter and incrimentally increase it in a blueprint. that way you can control when the flipbook pauses by stopping the increments while still maintaining speed and ease of use.