# Other Keys

**URL:** <https://forum.kirupa.com/t/other-keys/208021>\
**Category:** flash\
**Created:** [November 24, 2006, 2:41am UTC](https://forum.kirupa.com/t/other-keys/208021 "2006-11-24T02:41:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dark\_Cloud](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@Dark\_Cloud](https://forum.kirupa.com/u/Dark_Cloud)\
**Post date:** [November 24, 2006, 2:41am UTC](https://forum.kirupa.com/t/other-keys/208021/1 "2006-11-24T02:41:07Z")

</div>

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

onClipEvent (keyUp) {  
if (Key.getCode() == 90) {  
gotoAndPlay(4);  
}  
}

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?

Thanks,

–DC
