Other Keys

Hello. I’m making a game. On the MC I have this script:

onClipEvent (keyUp) {
if (Key.getCode() == 90) {

I want it to go to frame 4 of my MC which shows him punching when you press Z. But that does not work.

So for my question:

Why is this not working? Could someone please help?

And is 90 the right code for the Z key?