MV How to make the screen shake when the critical

I want to make the screen shake when a fatal blow is triggered.
Even if it's not a fatal blow,
I'd like to know what the Java script is like to make the screen shake.
Moved to: Learning Javascript

you could have just asked this in your other thread 😉
The Same as here - https://forums.rpgmakerweb.com/inde...und-effect-when-performing-a-critical.139952/

but add below AdioManager method

$gameScreen.startShake(power, speed, duration)

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-the-screen-shake-when-the-critical.139980/