Restart the animation

Hello everybody! Tell me how to restart the animation by clicking on the sprite.

If mouse/touch is over object
And left click is pressed.
Restart animation

You can show the animation restart code itself?

should work