# Very simple question? hitTest()

**URL:** https://forum.kirupa.com/t/very-simple-question-hittest/259212
**Category:** programming
**Created:** [May 2, 2008, 3:28am UTC](https://forum.kirupa.com/t/very-simple-question-hittest/259212 "2008-05-02T03:28:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bluemagica](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@bluemagica](https://forum.kirupa.com/u/bluemagica)
#### Post date: [May 2, 2008, 3:28am UTC](https://forum.kirupa.com/t/very-simple-question-hittest/259212/1 "2008-05-02T03:28:52Z")

</div>

1)I have a animated mc, and i want it to react only when a particular area of it has been hit. How to achieve this? (I have solved this one)

2)How do i check collision for a dynamically attached mc?? I also need to check, which parent mc, that mc is a instance of…

3)How do i change the depth of a mc?

4)i am generating movieclips with random speed, but sometimes, the speed becomes the same, and thus two clips overlap, how do i prevent this?
