How to play animation based on Pinch in/out values?

Hi,
I have a 3D object which has 2 Animation clips (Explode/Implode). Each clip is about 60 frames. Now when i do Pinch-in on my mobile-touch, Explode animation clip should play according to how much i pinched-in (Based on the pinch value, need to play the animation clip-frames).

If i moved the two fingers little, then the animation also should be played little. Vice-versa for Pinch-out for Implode animation. And the animation should stop playing when the fingers are off.

Could you please help me or give a tip on how to synch the pinch value and animation clip’s frames.

Thanks

Jeeva

As far as i i know animation play in full length like when i say gameobject.animation.play(“Explode”); it will play the the animation .if you pause the animation it will pause but replay will be from start.
there are two ways we can do that
1)If its only a placement thing we can use Lerp for that
2)divide the animation in several parts and run them differently