# Hittest from root timeline problem

**URL:** <https://forum.kirupa.com/t/hittest-from-root-timeline-problem/168861>\
**Category:** Uncategorized\
**Created:** [November 10, 2005, 7:10pm UTC](https://forum.kirupa.com/t/hittest-from-root-timeline-problem/168861 "2005-11-10T19:10:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![StrayWookie](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@StrayWookie](https://forum.kirupa.com/u/StrayWookie)\
**Post date:** [November 10, 2005, 7:10pm UTC](https://forum.kirupa.com/t/hittest-from-root-timeline-problem/168861/1 "2005-11-10T19:10:33Z")

</div>

this is my code:

if (\_root.crosshare\_mc.hitBox\_mc.hitTest(\_root.tree\_mc.bird\_mc)){  
trace(“over bird”)  
}

This is on frame 1 in the root timeline. I’m trying to detect a hit test between 2 movie clips, the crosshare\_mc is being dragged, with the hitBox\_mc being a smaller movieclip inside it.  
The other movieclip is tree\_mc with bird\_mc being inside it.  
I cannot get a hittest, can anyonr help me???
