# Key.isDown?

**URL:** <https://forum.kirupa.com/t/key-isdown/229133>\
**Category:** flash\
**Created:** [June 14, 2007, 10:18am UTC](https://forum.kirupa.com/t/key-isdown/229133 "2007-06-14T10:18:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Takashy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/takashy/32/1985_2.png) [@Takashy](https://forum.kirupa.com/u/Takashy)\
**Post date:** [June 14, 2007, 10:18am UTC](https://forum.kirupa.com/t/key-isdown/229133/1 "2007-06-14T10:18:30Z")

</div>

this time I got a little problem with teh key.isdown stuff…

Basically I want to make a key that goes to another frame… for example, when I press space…

Thers my code…

```
if (Key.isDown(32)) {
gotoAndStop(2);

```

}

Im not that sure where I should put it so I putted it on a MC in my first frame. The problem is that it does not work… and I would like to know why and how to fix it… ^^;

[edit] nvm, alredy figured it out… -.-…

ps: where can I delete this post?
