# keyDown() - What do you write for the "Dot/Period Key"?

**URL:** <https://forum.code.org/t/keydown-what-do-you-write-for-the-dot-period-key/35486>\
**Category:** Coding and Debugging Help\
**Created:** [November 23, 2021, 11:47pm UTC](https://forum.code.org/t/keydown-what-do-you-write-for-the-dot-period-key/35486 "2021-11-23T23:47:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emily.kosmack](https://avatars.discourse-cdn.com/v4/letter/e/8e7dd6/32.png) [@emily.kosmack](https://forum.code.org/u/emily.kosmack)\
**Post date:** [November 23, 2021, 11:47pm UTC](https://forum.code.org/t/keydown-what-do-you-write-for-the-dot-period-key/35486/1 "2021-11-23T23:47:17Z")

</div>

A student had a question I’ve never heard before - he’s working on something complex for his “Interactive Card” in Game Lab and wants something to happen when he presses the period/dot key but we can’t figure out what to write in parentheses. We couldn’t find the answer in a quick Google search…anyone here know?

[Here’s an example.](https://studio.code.org/projects/gamelab/I_tlJ1gwXndteQPGnKiASr0YtRRp8cQaToZrayM0RE8)

---

<div class="post-metadata">

**Author:** ![CeciliaZ](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/ceciliaz/32/7000_2.png) [@CeciliaZ](https://forum.code.org/u/CeciliaZ)\
**Post date:** [November 24, 2021, 2:37am UTC](https://forum.code.org/t/keydown-what-do-you-write-for-the-dot-period-key/35486/2 "2021-11-24T02:37:54Z")

</div>

If you put the key code, 190, with no quotes, instead of “period” it should work. I remixed it and it worked when I did that.

I’m not sure why the word “period” doesn’t work or if it’s supposed to.

---

<div class="post-metadata">

**Author:** ![emily.kosmack](https://avatars.discourse-cdn.com/v4/letter/e/8e7dd6/32.png) [@emily.kosmack](https://forum.code.org/u/emily.kosmack)\
**Post date:** [November 24, 2021, 2:57am UTC](https://forum.code.org/t/keydown-what-do-you-write-for-the-dot-period-key/35486/3 "2021-11-24T02:57:56Z")

</div>

Thank you so much!! I knew someone in the comments would come through. We tried 190 but didn’t think to without the quotation marks.

Thanks so much Cecilia 😍
