# Hit Test

**URL:** <https://forum.kirupa.com/t/hit-test/102380>\
**Category:** Uncategorized\
**Created:** [February 23, 2004, 7:57am UTC](https://forum.kirupa.com/t/hit-test/102380 "2004-02-23T07:57:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbrereton3](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@jbrereton3](https://forum.kirupa.com/u/jbrereton3)\
**Post date:** [February 23, 2004, 7:57am UTC](https://forum.kirupa.com/t/hit-test/102380/1 "2004-02-23T07:57:18Z")

</div>

I understand heaps of the bable with Flash MX but hitTest is one that I realy want to use but can never get my head around it!!!

I have searched and read others Threds for hours, tryed out heaps and have got no where.

Could someone give me some help…please…

```
 If you want somewhere to start with me, I's love to start with two movie clips, one movie clip is controlled by the key board ( I know how to do that ) and the other is a stationary box. I want to know how when the controlled clip moves up to it it cannot go into or through...

     Thanks heaps....
```

---

<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:** [February 23, 2004, 11:44am UTC](https://forum.kirupa.com/t/hit-test/102380/2 "2004-02-23T11:44:45Z")

</div>

Hi,

I’ve made a very simple example of what u’re looking for (only moves from left to right but u’ll work out the rest ;¬).

SHO

---

<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:** [February 23, 2004, 11:47am UTC](https://forum.kirupa.com/t/hit-test/102380/3 "2004-02-23T11:47:12Z")

</div>

But u could achieve the same thing withpuot using hitTest like  
in this oter example

SHO
