Hittest Problem

[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 :frowning:

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]