I assume you mean an animation, as I have never heard of a sprite loop.
In that case, here is how you could do it:
On Button clicked --> Start animation from beginning
This will play the animation once, to loop it do:
On Animation finished --> Start animation from beginning