# Key.getCode();

**URL:** https://forum.kirupa.com/t/key-getcode/36408
**Category:** flash
**Created:** [November 26, 2003, 10:52am UTC](https://forum.kirupa.com/t/key-getcode/36408 "2003-11-26T10:52:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![markuskarlsson](https://avatars.discourse-cdn.com/v4/letter/m/f9ae1b/32.png) [@markuskarlsson](https://forum.kirupa.com/u/markuskarlsson)
#### Post date: [November 26, 2003, 10:52am UTC](https://forum.kirupa.com/t/key-getcode/36408/1 "2003-11-26T10:52:46Z")

</div>

Hello.  
Me and some friends here at school (hyper island) has got an assignment to make a flashgame.

Now we have some problems. We want to assign a button on the keyboard to a specific player. Something like this “Player 1 choose your button” and so on. We don´t know how to do this and would reeealy appreciate som help.

regards  
markus karlsson  
hyper island
