# Special characters on keyboard

**URL:** <https://forum.code.org/t/special-characters-on-keyboard/34161>\
**Category:** Coding and Debugging Help\
**Created:** [February 1, 2021, 4:47am UTC](https://forum.code.org/t/special-characters-on-keyboard/34161 "2021-02-01T04:47:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cjohns](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@cjohns](https://forum.code.org/u/cjohns)\
**Post date:** [February 1, 2021, 4:47am UTC](https://forum.code.org/t/special-characters-on-keyboard/34161/1 "2021-02-01T04:47:33Z")

</div>

Looking for special character mappings for Game Lab and keyWentDown(): [Code.org Tool Documentation](https://studio.code.org/docs/gamelab/keyWentDown/)

I would like to be able to use a comma, question mark, dash, etc… can you please help me figure out how to do these with keyWentDown in Game Lab?

---

<div class="post-metadata">

**Author:** ![mwood](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/mwood/32/4941_2.png) [@mwood](https://forum.code.org/u/mwood)\
**Post date:** [February 2, 2021, 12:57am UTC](https://forum.code.org/t/special-characters-on-keyboard/34161/2 "2021-02-02T00:57:37Z")

</div>

@cjohns,

Not sure on the names, to be honest. If I find something, I’ll post back here again. Here’s a link to a website that shows the keycodes.

> **[JavaScript Event KeyCodes](https://keycode.info/)**
>
> Keycode testing tool - which keys map to which keycodes?

You can use these instead of names. Just don’t include the quotation marks, so this code would draw an ellipse when the dash is pressed.

```
function draw() {
  if (keyWentDown(189)) {
    ellipse(200, 200, 400, 400);
  }
}

```

Hope this helps!

Mike
