# Key String values?

**URL:** https://discussions.unity.com/t/key-string-values/395435
**Category:** Scripting
**Tags:** Scripting
**Created:** [July 26, 2009, 2:01pm UTC](https://discussions.unity.com/t/key-string-values/395435 "2009-07-26T14:01:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Maker16](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@Maker16](https://discussions.unity.com/u/Maker16)
#### Post date: [July 26, 2009, 2:01pm UTC](https://discussions.unity.com/t/key-string-values/395435/1 "2009-07-26T14:01:16Z")

</div>

Where would I find the enumerations for the arrow keys? I’m trying to use GetKeyDown() to read their input, but I don’t know the correct strings to use for the keys.

---

<div class="post-metadata">

### Author: ![anon\_7408527](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@anon\_7408527](https://discussions.unity.com/u/anon_7408527)
#### Post date: [July 26, 2009, 3:02pm UTC](https://discussions.unity.com/t/key-string-values/395435/2 "2009-07-26T15:02:26Z")

</div>

Is this: [Unity - Scripting API: KeyCode](http://unity3d.com/support/documentation/ScriptReference/KeyCode.html) what you are looking for?

---

<div class="post-metadata">

### Author: ![GargerathSunman](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/gargerathsunman/32/185234_2.png) [@GargerathSunman](https://discussions.unity.com/u/GargerathSunman)
#### Post date: [July 26, 2009, 6:30pm UTC](https://discussions.unity.com/t/key-string-values/395435/3 "2009-07-26T18:30:24Z")

</div>

KeyCode.UpArrow, KeyCode.RightArrow, etc…

---

<div class="post-metadata">

### Author: ![Maker16](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@Maker16](https://discussions.unity.com/u/Maker16)
#### Post date: [July 27, 2009, 12:29am UTC](https://discussions.unity.com/t/key-string-values/395435/4 "2009-07-27T00:29:22Z")

</div>

Yeah. I was tring to do it like other normal characters. Keycode.blahArrow does the trick.
