# Probably simple problem

**URL:** https://forum.kirupa.com/t/probably-simple-problem/186782
**Category:** Uncategorized
**Created:** [April 24, 2006, 4:40pm UTC](https://forum.kirupa.com/t/probably-simple-problem/186782 "2006-04-24T16:40:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![keke](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@keke](https://forum.kirupa.com/u/keke)
#### Post date: [April 24, 2006, 4:40pm UTC](https://forum.kirupa.com/t/probably-simple-problem/186782/1 "2006-04-24T16:40:41Z")

</div>

hi i have

```auto
if (Key.isDown(Key.SPACE)) {
tellTarget ("/car") {gotoAndStop (2);}
}

```

and all i want is for it to go back to gotoAndStop (1) when space is released. I though it would be “Key.isUp” but obviously it isn’t then i tried some on space release things and got all confused. Is there a simple way to solve this?

---

<div class="post-metadata">

### Author: ![Joppe](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Joppe](https://forum.kirupa.com/u/Joppe)
#### Post date: [April 24, 2006, 4:48pm UTC](https://forum.kirupa.com/t/probably-simple-problem/186782/2 "2006-04-24T16:48:24Z")

</div>

```auto
if(Key.isDown(Key.SPACE)){
_root.car.gotoAndStop(2);
}else{
_root.car.gotoAndStop(1);
}

```

Telltarget wha?

---

<div class="post-metadata">

### Author: ![keke](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@keke](https://forum.kirupa.com/u/keke)
#### Post date: [April 24, 2006, 10:33pm UTC](https://forum.kirupa.com/t/probably-simple-problem/186782/3 "2006-04-24T22:33:22Z")

</div>

Thank you so much! also lol i only just started trying to do some coding on my own and not robbing the codes and i keep doing things harder ways obviously… atleast now i’ve learnt another new thing. thanks again :beam:

---

<div class="post-metadata">

### Author: ![Joppe](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Joppe](https://forum.kirupa.com/u/Joppe)
#### Post date: [April 25, 2006, 3:37pm UTC](https://forum.kirupa.com/t/probably-simple-problem/186782/4 "2006-04-25T15:37:26Z")

</div>

Yeah sure anytime. If you get in more trouble just post question here on the board (remember to search before =))
