# Question for platform game

**URL:** <https://forum.kirupa.com/t/question-for-platform-game/115506>\
**Category:** Uncategorized\
**Created:** [July 9, 2004, 6:46am UTC](https://forum.kirupa.com/t/question-for-platform-game/115506 "2004-07-09T06:46:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BuG56](https://avatars.discourse-cdn.com/v4/letter/b/c57346/32.png) [@BuG56](https://forum.kirupa.com/u/BuG56)\
**Post date:** [July 9, 2004, 6:46am UTC](https://forum.kirupa.com/t/question-for-platform-game/115506/1 "2004-07-09T06:46:41Z")

</div>

ok i have a question, i am working on a platform game and i want to know how to make one clip stop. how do you make a clip stop moving??

i used this script on the clip

onClipEvent (enterFrame) {  
if (Key.isDown(Key.LEFT)) {  
this.\_x = this.\_x-12;  
this.gotoAndPlay(“left”)  
}  
}  
onClipEvent (enterFrame) {  
if (Key.isDown(Key.RIGHT)) {  
this.\_x = this.\_x +12;  
this.gotoAndPlay(“right”)  
}  
}

you get it,

well you get the point. the main movie clip’s instance name is char and the movie clip that i want to stop it is called wall. please help me.
