# Game controls

**URL:** https://forum.kirupa.com/t/game-controls/196759
**Category:** Uncategorized
**Created:** [August 10, 2006, 7:08pm UTC](https://forum.kirupa.com/t/game-controls/196759 "2006-08-10T19:08:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![robinkmedia](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@robinkmedia](https://forum.kirupa.com/u/robinkmedia)
#### Post date: [August 10, 2006, 7:08pm UTC](https://forum.kirupa.com/t/game-controls/196759/1 "2006-08-10T19:08:24Z")

</div>

I have a little homage to zelda game i’m trying to make.  
I have the movement animations for the main character (link)- and he is moving- however when the key is pressed he is frozen on the first frame of that direction’s animation- then when the key is released, he proceeds to “run”. Anyone know how I can reverse that?  
Thanks!  
link.onEnterFrame = function () {  
if (Key.isDown (Key.RIGHT)) {  
this.\_x += moveSpeed;  
link.gotoAndPlay(“right”);  
}
