# Question about getting keyboard inputs

**URL:** <https://forum.kirupa.com/t/question-about-getting-keyboard-inputs/254165>\
**Category:** flash\
**Created:** [March 8, 2008, 11:56pm UTC](https://forum.kirupa.com/t/question-about-getting-keyboard-inputs/254165 "2008-03-08T23:56:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirtyharriet](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@dirtyharriet](https://forum.kirupa.com/u/dirtyharriet)\
**Post date:** [March 8, 2008, 11:56pm UTC](https://forum.kirupa.com/t/question-about-getting-keyboard-inputs/254165/1 "2008-03-08T23:56:25Z")

</div>

Hello people !  
I’m getting inputs from Keyboard like numbers.  
I can retrieve wheter the user is pressing, number 1, 2, 3, 4, 5, 6, 7, 8, 9 but what about number 10, 11, 12…  
Is there a way to track this?  
I don’t know if IsToggle could be related to that, I have been messing around with this code but I think it really sucks:

```auto

if (Key.isToggled(Key.DOWN)) {
  _global.knumbers.push(Key.getAscii());
}

```
