How do I offset the player character sprite?

I'm trying to make a struggle/tremble animation by just slightly offsetting the player sprite back and forth. All the plugins I could find were able to do that with events, but not the player sprite. Thanks in advance for any help!
You could try something like
Move Route:
◇Script: $gamePlayer._x += .1
◇Wait 1 Frame
◇Script: $gamePlayer._x -= .1
◇Wait 1 Frame
loop
Without a script and kinda easy:
Remove the party members or change the hero sprite with "none" and create an event with the player sprite.
You could try something like
Move Route:
◇Script: $gamePlayer._x += .1
◇Wait 1 Frame
◇Script: $gamePlayer._x -= .1
◇Wait 1 Frame
loop
Thank you, I'll try it out!
Without a script and kinda easy:
Remove the party members or change the hero sprite with "none" and create an event with the player sprite.
Thanks, that's a good workaround!

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-offset-the-player-character-sprite.156060/