# Movement Keys Help PLZ

**URL:** <https://forum.kirupa.com/t/movement-keys-help-plz/181748>\
**Category:** programming\
**Created:** [March 12, 2006, 6:41pm UTC](https://forum.kirupa.com/t/movement-keys-help-plz/181748 "2006-03-12T18:41:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoRdAnMaN](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@JoRdAnMaN](https://forum.kirupa.com/u/JoRdAnMaN)\
**Post date:** [March 12, 2006, 6:41pm UTC](https://forum.kirupa.com/t/movement-keys-help-plz/181748/1 "2006-03-12T18:41:58Z")

</div>

Im using this simple movement keys script,i just wanna know how would i be able to edit this scrip so that i would be able to put it on another mc1 but when u press the keys mc2 moves. Or if anyone has another script thats betetr that would be cool.

on (keyPress “\<Left\>”) {  
currentX = this.\_x;  
this.\_x = currentX-2;  
}  
on (keyPress “\<Right\>”) {  
currentX = this.\_x;  
this.\_x = currentX+2;  
}
