# Drag Question - hit area

**URL:** <https://forum.kirupa.com/t/drag-question-hit-area/226008>\
**Category:** flash\
**Created:** [May 17, 2007, 12:34pm UTC](https://forum.kirupa.com/t/drag-question-hit-area/226008 "2007-05-17T12:34:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halian](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@halian](https://forum.kirupa.com/u/halian)\
**Post date:** [May 17, 2007, 12:34pm UTC](https://forum.kirupa.com/t/drag-question-hit-area/226008/1 "2007-05-17T12:34:32Z")

</div>

I remember seeing a tutorial on this but I can’t seem to find it.

I have a draggable mc within a movie clip. I’m wondering how to code it so that when dragged it will move the parent, but I don’t want the parent to be able to be clicked on anywhere…just the one movieclip.

layout: \_root.cont\_mc.box\_mc

if i use:  
cont\_mc.box\_mc.onMouseDown = function(){  
this.startDrag();  
}

the box\_mc will move anywhere i want - good enough.

if i use:  
cont\_mc.box\_mc.onMouseDown = function(){  
this.\_parent.startDrag();  
}

the whole thing moves as expected, but the hit area is the whole clip since i’m attaching the startDrag() to that clip.

So how do I move cont\_mc by only dragging box\_mc?

Thanks.
