# Key.isDown

**URL:** <https://forum.kirupa.com/t/key-isdown/177132>\
**Category:** Uncategorized\
**Created:** [January 30, 2006, 3:20pm UTC](https://forum.kirupa.com/t/key-isdown/177132 "2006-01-30T15:20:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayteq](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ayteq/32/2058_2.png) [@ayteq](https://forum.kirupa.com/u/ayteq)\
**Post date:** [January 30, 2006, 3:20pm UTC](https://forum.kirupa.com/t/key-isdown/177132/1 "2006-01-30T15:20:12Z")

</div>

hey.

i have a word game. there are some words that are randomly selected. and players just see one word and try to produce new words from that. you know classic word game.

i want players to use keyboard. for example if the word is MONDAY and a player write DAY, he / she would able to write DAY with keyboard.

Letters = new Array(“A”, “B”, “C”, “D”, “E”, “F”, “G”, “H”, “I”, “J”, “K”, “L”, “M”, “N”, “O”, “P”, “R”, “S”, “T”, “U”, “V”, “Y”, “Z”);  
Codes = new Array(65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 82, 83, 84, 85, 86, 89, 90);

this is the array. but how can i use this. i cant do that.

thanks in idvance.
