# getCodes issue

**URL:** https://forum.kirupa.com/t/getcodes-issue/236004
**Category:** flash
**Created:** [August 16, 2007, 1:15pm UTC](https://forum.kirupa.com/t/getcodes-issue/236004 "2007-08-16T13:15:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![99X](https://avatars.discourse-cdn.com/v4/letter/9/71c47a/32.png) [@99X](https://forum.kirupa.com/u/99X)
#### Post date: [August 16, 2007, 1:15pm UTC](https://forum.kirupa.com/t/getcodes-issue/236004/1 "2007-08-16T13:15:40Z")

</div>

I’m using Key.getCode to tell me when a key is released. however, if I press the LEFT key and then, while holding that key down, I press the SPACE key - when I release either Key, it only tells me the first one I released, instead of both of them.

example: I hold down LEFT, then hold SPACE, then release SPACE and it gives me the code, then release LEFT and it does nothing like I never pressed it.

any ideas? Any way to get around this?
