# Hittest Problem

**URL:** <https://forum.kirupa.com/t/hittest-problem/304522>\
**Category:** flash\
**Created:** [February 9, 2010, 11:27am UTC](https://forum.kirupa.com/t/hittest-problem/304522 "2010-02-09T11:27:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucy\_87](https://avatars.discourse-cdn.com/v4/letter/l/6de8d8/32.png) [@Lucy\_87](https://forum.kirupa.com/u/Lucy_87)\
**Post date:** [February 9, 2010, 11:27am UTC](https://forum.kirupa.com/t/hittest-problem/304522/1 "2010-02-09T11:27:44Z")

</div>

[LEFT]Hello guys,

I’m doing a hittest between a line and a square to check if blue circle has line of sight with red circle but the results I’m getting are weird.

I’ve read smth about that hittest checks the “square box around movieclip”, dunno if that can be the problem.

I would appreciate a lot any help as I’m so stuck with this ☹

Thanks in advance.

pd: both the line and the black square are normal sprites  
pd2: here is a image with some results I got :S

[/LEFT]

![](http://img96.imageshack.us/img96/3046/hittest.jpg)
