# hitTestObject area

**URL:** <https://forum.kirupa.com/t/hittestobject-area/225412>\
**Category:** flash\
**Created:** [May 11, 2007, 2:52pm UTC](https://forum.kirupa.com/t/hittestobject-area/225412 "2007-05-11T14:52:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolb](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@nicolb](https://forum.kirupa.com/u/nicolb)\
**Post date:** [May 11, 2007, 2:52pm UTC](https://forum.kirupa.com/t/hittestobject-area/225412/1 "2007-05-11T14:52:41Z")

</div>

Hello !🙂

I’m trying to make a simple animation with moving bubbles.  
I am using the hitTestObject method to detect collision between bubbles.  
The problem is that sometime bubbles seems to bounce quite far from other bubbles (about 10 pixels i guess).

You can see the swf [here](http://www.graphea.com/graphea/examples/bubbles.html)

Does someone know why ? Should i use the hitTestPoint for a better result ?

Thanks
