# Change MovieClip Depth on drag

**URL:** <https://forum.kirupa.com/t/change-movieclip-depth-on-drag/283754>\
**Category:** flash\
**Created:** [March 10, 2009, 7:14pm UTC](https://forum.kirupa.com/t/change-movieclip-depth-on-drag/283754 "2009-03-10T19:14:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![waverider303](https://avatars.discourse-cdn.com/v4/letter/w/ac91a4/32.png) [@waverider303](https://forum.kirupa.com/u/waverider303)\
**Post date:** [March 10, 2009, 7:14pm UTC](https://forum.kirupa.com/t/change-movieclip-depth-on-drag/283754/1 "2009-03-10T19:14:26Z")

</div>

Is there a way to change the depth (index number) of a movieClip when I click on it to drag. Example:

Say I have three circles. Each circle has a MOUSE\_UP and MOUSE\_DOWN eventListener. When one is clicked It will bring it to the front so when I drag it will be above the two other circles.
