# Two objects moving around with mouse

**URL:** <https://forum.kirupa.com/t/two-objects-moving-around-with-mouse/326148>\
**Category:** Uncategorized\
**Created:** [November 26, 2011, 12:19am UTC](https://forum.kirupa.com/t/two-objects-moving-around-with-mouse/326148 "2011-11-26T00:19:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kiki19857](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kiki19857](https://forum.kirupa.com/u/kiki19857)\
**Post date:** [November 26, 2011, 12:19am UTC](https://forum.kirupa.com/t/two-objects-moving-around-with-mouse/326148/1 "2011-11-26T00:19:56Z")

</div>

I’m making a catching game and I only wanted the falling objects hit certain area on my catcher. My catcher is a girl with mouth open and I wanted the falling objects to hit only the mouth, not any other parts of her body like arms. So I made two objects, the full girl and just the mouth. How do I make the two objects (movieclips) move around with the mouse?

I tried to embed one object into another but it didn’t work…

Here is my attached actionscript file.
