How to get an animation to play only one time for every click on a button ?
I have a button that start an animation.
By clicking on the button, I would like the animation to be played only one time.
And I want this to happen every time I click on the button.
I have tried to set the animation to only get repeated once. But then it seems I can't turn the animation on again when I click on the button which should turn the animation on.
I would therefore like to hear how I can get an animation to be played only one time every time I click on a button that turns it on ?