# AS2 Help

**URL:** https://forum.kirupa.com/t/as2-help/637124
**Category:** flash
**Created:** [September 5, 2017, 1:49am UTC](https://forum.kirupa.com/t/as2-help/637124 "2017-09-05T01:49:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bbpanzu](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bbpanzu](https://forum.kirupa.com/u/bbpanzu)
#### Post date: [September 5, 2017, 1:49am UTC](https://forum.kirupa.com/t/as2-help/637124/1 "2017-09-05T01:49:09Z")

</div>

I tried this code for the character to go to the next frame when it touches it

onClipEvent(enterFrame){  
if(\_root.char.hitTest(this)){  
\_root.nextFrame();  
}  
}

but it doesn’t do anything
