# Next stage

**URL:** https://forum.kirupa.com/t/next-stage/160166
**Category:** programming
**Created:** [August 23, 2005, 9:56pm UTC](https://forum.kirupa.com/t/next-stage/160166 "2005-08-23T21:56:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![saad](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@saad](https://forum.kirupa.com/u/saad)
#### Post date: [August 23, 2005, 9:56pm UTC](https://forum.kirupa.com/t/next-stage/160166/1 "2005-08-23T21:56:48Z")

</div>

I can’t figure out why this isn’t working, its no going to the next stage!  
Under enterframe

if(\_root.enemyleft \<= 0){  
trace(“hit”);  
gotoAndStop(“stage2”, 1);  
}

but its not working, any help

Thanks
