Something like this, maybe?
front view battler shakes when hit.
JS Plugin RequestsSomething like this, maybe?
It works but sadly its not really compatible with any of the plugins i use.
Are you using any plugins that alter the battle status window ie like this one, if you are the plugin mentioned by @Applesaws won't work, as well as most plugins that give you battler poses in front view because they tend to alter the battle status window.
Original thread: https://forums.rpgmakerweb.com/threads/front-view-battler-shakes-when-hit.86286/