# Setting Bounds with HitTest

**URL:** <https://forum.kirupa.com/t/setting-bounds-with-hittest/95057>\
**Category:** Uncategorized\
**Created:** [November 19, 2003, 11:47pm UTC](https://forum.kirupa.com/t/setting-bounds-with-hittest/95057 "2003-11-19T23:47:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fargate](https://avatars.discourse-cdn.com/v4/letter/f/dbc845/32.png) [@Fargate](https://forum.kirupa.com/u/Fargate)\
**Post date:** [November 19, 2003, 11:47pm UTC](https://forum.kirupa.com/t/setting-bounds-with-hittest/95057/1 "2003-11-19T23:47:46Z")

</div>

Ok this problem is really starting to get annoying ☹

[AS]  
onClipEvent (enterFrame) {  
if (\_root.line.circle.dot.hitTest(\_root.mc)) {  
\_root.gotoAndStop(“end”);  
}  
}  
[/AS]

That hittest performs when the two blue edgings around the two objects intersect. So it hittests just a little before it’s supposed to. What I need to know and can’t figure out is how to get it to Hit test when the actual objects interesect and not their borders.Thanks in advance :).
