MZ What is the command to check Numpad5 is triggered?

Hi everyone.
Im try to put this command:
(Input.isTriggered('Numpad5'))
but does not work.
I want to check if Numpad5 is triggered.
There is no entry for that in the default keyMapper, you'll need a plugin to add it in, e.g.
JavaScript:
/*:
 * @target MZ
 * @plugindesc Add "Numpad5" to the keyMapper.
 */
Input.keyMapper[12] = 'Numpad5';
Then you should be able to use the usual Input checks on it. 👋

In case it helps, here's a handy site for checking key codes:
There is no entry for that in the default keyMapper, you'll need a plugin to add it in, e.g.
JavaScript:
/*:
 * @target MZ
 * @plugindesc Add "Numpad5" to the keyMapper.
 */
Input.keyMapper[12] = 'Numpad5';
Then you should be able to use the usual Input checks on it. 👋

In case it helps, here's a handy site for checking key codes:
Worked!
Thank you so much
Great, happy RPG Making!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/what-is-the-command-to-check-numpad5-is-triggered.145733/