# Collision triggers "next scene"

**URL:** <https://forum.kirupa.com/t/collision-triggers-next-scene/120922>\
**Category:** Uncategorized\
**Created:** [August 28, 2004, 9:13pm UTC](https://forum.kirupa.com/t/collision-triggers-next-scene/120922 "2004-08-28T21:13:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![acor](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@acor](https://forum.kirupa.com/u/acor)\
**Post date:** [August 28, 2004, 9:13pm UTC](https://forum.kirupa.com/t/collision-triggers-next-scene/120922/1 "2004-08-28T21:13:33Z")

</div>

how do I make it so when one mc runs into another the scene will change to the next one??

heres my code that doesn’t seem to be working

onClipEvent (enterFrame) {  
if (this.hitTest(\_root.characterf))  
function() {nextScene();  
}
