# HitTest with circle

**URL:** https://forum.kirupa.com/t/hittest-with-circle/298273
**Category:** flash
**Created:** [October 15, 2009, 7:06pm UTC](https://forum.kirupa.com/t/hittest-with-circle/298273 "2009-10-15T19:06:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![iCon1980](https://avatars.discourse-cdn.com/v4/letter/i/47e85d/32.png) [@iCon1980](https://forum.kirupa.com/u/iCon1980)
#### Post date: [October 15, 2009, 7:06pm UTC](https://forum.kirupa.com/t/hittest-with-circle/298273/1 "2009-10-15T19:06:19Z")

</div>

Hi,

I would like to know when a circle hits a square.

Following code returns true when the rectangle of the MovieClip (blue) hits the square and not the circle itself:

circle.hitTestObject(square);

In as2 you had an extra parameter to indicate that.

Does anyone knows the answer?

tx
