# HitTest ''HELP''

**URL:** <https://forum.kirupa.com/t/hittest-help/124004>\
**Category:** Uncategorized\
**Created:** [September 29, 2004, 8:35am UTC](https://forum.kirupa.com/t/hittest-help/124004 "2004-09-29T08:35:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![COYz](https://avatars.discourse-cdn.com/v4/letter/c/4af34b/32.png) [@COYz](https://forum.kirupa.com/u/COYz)\
**Post date:** [September 29, 2004, 8:35am UTC](https://forum.kirupa.com/t/hittest-help/124004/1 "2004-09-29T08:35:34Z")

</div>

i need to know how to use hittest heres me code maybe u can help me:

onClipEvent (load) {  
if (this.hitTest(\_root.goal)) {  
gotoAndPlay(2);  
}  
}

or

onClipEvent (load) {  
if (\_target.car.hitTest(\_root.goal)) {  
gotoAndPlay(2);  
}  
}
