# Code help

**URL:** <https://forum.kirupa.com/t/code-help/31797>\
**Category:** Uncategorized\
**Created:** [September 27, 2003, 10:42am UTC](https://forum.kirupa.com/t/code-help/31797 "2003-09-27T10:42:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skinny\_T](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Skinny\_T](https://forum.kirupa.com/u/Skinny_T)\
**Post date:** [September 27, 2003, 10:42am UTC](https://forum.kirupa.com/t/code-help/31797/1 "2003-09-27T10:42:53Z")

</div>

Hey people. I was wondering if anyone could help me

[AS]  
onClipEvent (enterFrame) {  
if (this.hitTest(\_root.man)) {  
trace(“hit”);  
\_global.hitWall = true;  
trace("Wal mc: "+hitWall);  
\_root.man.stop();  
\_root.onEnterFrame = function() {  
\_root.movie;  
\_y -= 0;  
\_y += 0;  
\_x -= 0;  
\_x += 0;  
};  
}  
}

{[/AS]

Once character hits the tree the movie stops and what I need is when he walks away from the tree again the movie starts playing again.
