Animation stop and Animation continuous loop

What do you want to achieve?

I would like to have the ability to have an animation play continuously until another event tells it to stop

Mention some use cases

I am making a control panel for turning vacuum motors on and off and monitoring their temperature and current draw. The button on the UI is an image of a fan motor that I have animated the blades to rotate while the fan is on and stop when I hit the button again to stop the motor however currently the animation will only run for whatever time it is set for and then stops.

At the current version (it will be improved later) you can use custom events for it, similarly to example shown here: