Show animation script

Is there a script for

◆Show Animation:Player, Hit Physical (Wait)

I tried
$game_player.animation_id = 1
it just pops up an opaque window
doesn't seem to wrok

thanks
Take a look in rpg_objects and search for Show animation. It's hidden behind a command number, but inside there's exactly the code that it takes to execute.
Take a look in rpg_objects and search for Show animation. It's hidden behind a command number, but inside there's exactly the code that it takes to execute.

I found this, but not sure how to use

// Show Animation, Show Battle Animation
case 212: case 337:
if(params[1]) {
var animation = $dataAnimations[params[1]];
var name1 = animation.animation1Name;
var name2 = animation.animation2Name;
var hue1 = animation.animation1Hue;
var hue2 = animation.animation2Hue;
ImageManager.requestAnimation(name1, hue1);
ImageManager.requestAnimation(name2, hue2);
}
break;
there is a pinned topic listing the script equivalent of every event command.
I think that would be a better place to look than the code for those who don't know how to code.
I don't have the link ready and no time to search, check in both this MV support forum and on the javascript forum for that topic.

Original thread: https://forums.rpgmakerweb.com/threads/show-animation-script.99566/