# Backspace key won't detect

**URL:** <https://forum.kirupa.com/t/backspace-key-wont-detect/142318>\
**Category:** Uncategorized\
**Created:** [March 27, 2005, 9:23pm UTC](https://forum.kirupa.com/t/backspace-key-wont-detect/142318 "2005-03-27T21:23:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lomadrian](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@Lomadrian](https://forum.kirupa.com/u/Lomadrian)\
**Post date:** [March 27, 2005, 9:23pm UTC](https://forum.kirupa.com/t/backspace-key-wont-detect/142318/1 "2005-03-27T21:23:36Z")

</div>

If I put in some code like this…

```auto
this.onKeyDown = function():Void {
	 trace (Key.getCode());
}
Key.addListener(this);

```

…it doesn’t detect anything when I press the backspace key, or the enter key. What is wrong? How do I detect these???
