# Hit detection redone

**URL:** <https://forum.kirupa.com/t/hit-detection-redone/100320>\
**Category:** Uncategorized\
**Created:** [January 28, 2004, 2:56am UTC](https://forum.kirupa.com/t/hit-detection-redone/100320 "2004-01-28T02:56:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HelloKittyGurl](https://avatars.discourse-cdn.com/v4/letter/h/3be4f8/32.png) [@HelloKittyGurl](https://forum.kirupa.com/u/HelloKittyGurl)\
**Post date:** [January 28, 2004, 2:56am UTC](https://forum.kirupa.com/t/hit-detection-redone/100320/1 "2004-01-28T02:56:56Z")

</div>

Kay, I found out that hit detection stuff that I last put on :thumb: it was[AS]onClipEvent (enterFrame) {  
if (\_root.collision, hitTest(\_root.ship)) {  
\_root.gotoAndPlay(2);  
}  
}[/AS]  
but the thing is that my ship mc is not on the main stage the reason is if I put in the ship mc on the panoramic mc it won’t move with the panoramic. How can I either scroll it or, tell it to detect the ship on other levels? THanks,  
RoxyGurl:huh:
