MZ Magic cast motion loop?

Is there a way to put magic cast motion loop until finish battle animation?
Program the skill with an action sequence and don't tell it to use another motion.
Program the skill with an action sequence and don't tell it to use another motion.
Using visu battle core?

I tried to search on rpg objects and found this:

} else if (action.isMagicSkill()) {
this.requestMotion("spell");

chat gpt gave-me this code but dont worked:
this.startMotionLoop();

Original thread: https://forums.rpgmakerweb.com/threads/magic-cast-motion-loop.159048/