# Detecting Letters

**URL:** <https://forum.kirupa.com/t/detecting-letters/192199>\
**Category:** flash\
**Created:** [June 27, 2006, 12:10am UTC](https://forum.kirupa.com/t/detecting-letters/192199 "2006-06-27T00:10:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Austastic](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@Austastic](https://forum.kirupa.com/u/Austastic)\
**Post date:** [June 27, 2006, 12:10am UTC](https://forum.kirupa.com/t/detecting-letters/192199/1 "2006-06-27T00:10:29Z")

</div>

I want to be able to detect when a certain key is pressed. Not the preset ones like spacebar, enter, delete, left, right, etc… I want to make it so that when the letter “a” is pressed, then such and such happens, and if the letter “m” is pressed, another thing happens.
