# Arrow not recognized with "input.keyboard.on"

**URL:** <https://phaser.discourse.group/t/arrow-not-recognized-with-input-keyboard-on/7592>\
**Category:** Phaser 3\
**Created:** [October 5, 2020, 2:39pm UTC](https://phaser.discourse.group/t/arrow-not-recognized-with-input-keyboard-on/7592 "2020-10-05T14:39:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lluks](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/lluks/32/3091_2.png) [@Lluks](https://phaser.discourse.group/u/Lluks)\
**Post date:** [October 5, 2020, 2:39pm UTC](https://phaser.discourse.group/t/arrow-not-recognized-with-input-keyboard-on/7592/1 "2020-10-05T14:39:29Z")

</div>

Hello,

I have an issus with “input.keyboard.on” (see code bellow), all keys are recognized, but arrow are not. I think it worked in the past with “ArrowLeft”, … (i use v3.24.1 now).

```
this.input.keyboard.on("keydown", this.handleKey, this);

  handleKey(e){
    console.log(e);
    ...

```

Do anyone have any idea of why it don’t work ?  
Thank you !

---

<div class="post-metadata">

**Author:** ![BlunT76](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/blunt76/32/1454_2.png) [@BlunT76](https://phaser.discourse.group/u/BlunT76)\
**Post date:** [October 5, 2020, 3:03pm UTC](https://phaser.discourse.group/t/arrow-not-recognized-with-input-keyboard-on/7592/2 "2020-10-05T15:03:34Z")

</div>

Hi,  
Your code seems to work on my codepen, but with handleKey not this.handleKey  
Try with:

```javascript
this.input.keyboard.on("keydown", (e)=> console.log(e.key), this);

```

---

<div class="post-metadata">

**Author:** ![Lluks](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/lluks/32/3091_2.png) [@Lluks](https://phaser.discourse.group/u/Lluks)\
**Post date:** [October 5, 2020, 3:39pm UTC](https://phaser.discourse.group/t/arrow-not-recognized-with-input-keyboard-on/7592/3 "2020-10-05T15:39:29Z")

</div>

Unfortunately, it doesn’t seem to work for me, are you in 3.24.1?

---

<div class="post-metadata">

**Author:** ![BlunT76](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/blunt76/32/1454_2.png) [@BlunT76](https://phaser.discourse.group/u/BlunT76)\
**Post date:** [October 5, 2020, 4:30pm UTC](https://phaser.discourse.group/t/arrow-not-recognized-with-input-keyboard-on/7592/4 "2020-10-05T16:30:26Z")

</div>

Yes, tested with 3.24.1  
Try with your browser extensions disabled, some extensions like evernote can cause problems
