How can I add loop animations using PNG images and have the animation removed using a ''Show choice'' or some switch or variable?

Hello friends, I am making a game in RPG Maker MV and I want to add animations using PNG, only I don't know how to add them in Loop and with some other option the animation can be removed, another person told me that they only used parallel, switch and variables, I just don't know how to use them when adding an animation, I hope you can help me.
Captura de pantalla 2025-08-25 185417.png
Captura de pantalla 2025-08-23 221823.png

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-add-loop-animations-using-png-images-and-have-the-animation-removed-using-a-show-choice-or-some-switch-or-variable.179785/