# Determining MovieClip.\_name from mouseClick

**URL:** <https://forum.kirupa.com/t/determining-movieclip--name-from-mouseclick/133704>\
**Category:** Uncategorized\
**Created:** [January 11, 2005, 9:34am UTC](https://forum.kirupa.com/t/determining-movieclip--name-from-mouseclick/133704 "2005-01-11T09:34:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beej](https://avatars.discourse-cdn.com/v4/letter/b/bcef8e/32.png) [@beej](https://forum.kirupa.com/u/beej)\
**Post date:** [January 11, 2005, 9:34am UTC](https://forum.kirupa.com/t/determining-movieclip--name-from-mouseclick/133704/1 "2005-01-11T09:34:46Z")

</div>

I want to get the name of a movieClip when it under a mouse click, but I don’t want to attach any code to the movieClip. Can anyone suggest a way of doing this?

I am creating a simple colouring game, but I want it to be easy and quick to change the pictures that are being coloured, so I wanted to avoid adding any code to the movieClips that are being coloured.

I don’t think hitTest will do the job and I am not sure that droptarget is much good either is there any other way of doing this?
