I used to struggle a lot with editing sequence frames in AnimationPlayer and wanted to use AnimatedSprite2D for quick frame animation editing. Recently, the custom action feature was introduced, and since the functionality I’m currently working on uses assets from old RPG Maker projects, I created a small plugin. I find it quite useful and am sharing it here.
AGMPlayAnimation.gd (1.5 KB)
Simply place the script in your project files to use it.
First, select your AnimatedSprite2D node.
You can choose to fill in one of the two text fields. In the first text field, enter the character name you want.
The second text field requires the full animation name.
If you enter a character name, it will use a fixed format. In the last two options, select the state and direction, then create animations in the corresponding AnimatedSprite2D using that format.
Name_Animation_Direction
If you enter an animation name, the corresponding animation will be played.

