# Hit.Test Problem

**URL:** <https://forum.kirupa.com/t/hit-test-problem/15980>\
**Category:** flash\
**Created:** [March 19, 2003, 10:54pm UTC](https://forum.kirupa.com/t/hit-test-problem/15980 "2003-03-19T22:54:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Grant](https://forum.kirupa.com/u/Grant)\
**Post date:** [March 19, 2003, 10:54pm UTC](https://forum.kirupa.com/t/hit-test-problem/15980/1 "2003-03-19T22:54:15Z")

</div>

My basic probem is described in the picutre but what is happening is a hit is being dectected between 2 movie clips even tho it really isnt touching the actual artwork  
-BTW its for a pinball game, i got the gravity to work and alot of other things when im done ill be sure to post it

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 20, 2003, 1:12am UTC](https://forum.kirupa.com/t/hit-test-problem/15980/2 "2003-03-20T01:12:00Z")

</div>

If ur too lazy to read above All i want to happen is a hit test between 2 movie clips a ball and a corner piece

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 20, 2003, 1:24am UTC](https://forum.kirupa.com/t/hit-test-problem/15980/3 "2003-03-20T01:24:48Z")

</div>

Please dont call us lazy.

But all you want is the ball to hit only the corner piece.

I am not sure

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 20, 2003, 1:30am UTC](https://forum.kirupa.com/t/hit-test-problem/15980/4 "2003-03-20T01:30:03Z")

</div>

coming to the board and on your 2nd post you call us lazy…  
Now THAT’S not the way to get help around here.

As far as your problem, I honestly don’t 100% understand it, so  
please try to expand a little more as to what you need, and we’ll  
do our best.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 20, 2003, 2:13am UTC](https://forum.kirupa.com/t/hit-test-problem/15980/5 "2003-03-20T02:13:52Z")

</div>

Lmao it wasn’t an instult.I use to post here a while ago and i know how helpfull people can be so im sorry if i hurt ur feelings :(. Also bascially with hit.test u have 2 types a one that uses X,Y Cords and flag shapes and one that is just 2 movie clips. But the 2movie clips u cant use flag Shapes so it puts a box around ur shape so when the 2 object colide its really only colliding with the Box outliine. And thats my problem. In the meantime im just gonna use a getaround to sove my problem.:ninja:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 20, 2003, 5:45am UTC](https://forum.kirupa.com/t/hit-test-problem/15980/6 "2003-03-20T05:45:06Z")

</div>

so, why not establish the center point of the mc you want it to hit  
and run it to x,y coordinates with actionscript instead?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 20, 2003, 8:50pm UTC](https://forum.kirupa.com/t/hit-test-problem/15980/7 "2003-03-20T20:50:19Z")

</div>

Yea thats what i was doing thx, but i was just wondering if there was other ways.
