QABS and QSprite question

Hey everybody. I wanted to ask if anyone knows how to call a QSprite pose with a script call.
The only things I'm able to do when an enemy dies is through javascript and I wanted the enemy to make a pose when it dies.

I tried something like this: "$gamePlayer.playPose(move, true, true, false, false);" just so I can test it, but it doesn't work.

If anyone knows a solution for what I'm talking please let me know.

Edit: Well I'm dumb. The argument move needs to be "move" because it's a String. It's working fine now.
My best guess would be something like this:
this._originalPattern = X;
Where X is the index on the sprite sheet that you want it to be set to.
Could you elaborate please? Because that only made me more confused xD
I dont think QSprite uses indexes on its calls.

Original thread: https://forums.rpgmakerweb.com/threads/qabs-and-qsprite-question.98577/