# Quick swapdepths question

**URL:** <https://forum.kirupa.com/t/quick-swapdepths-question/278861>\
**Category:** Uncategorized\
**Created:** [January 6, 2009, 7:56pm UTC](https://forum.kirupa.com/t/quick-swapdepths-question/278861 "2009-01-06T19:56:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jibble](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jibble/32/2265_2.png) [@jibble](https://forum.kirupa.com/u/jibble)\
**Post date:** [January 6, 2009, 7:56pm UTC](https://forum.kirupa.com/t/quick-swapdepths-question/278861/1 "2009-01-06T19:56:37Z")

</div>

can i change the depths of two movieclips on the same layer with swapdepths?

so like…

mc1.swapDepths(mc2 + 1);

it’s not working for me. So i figure you can’t do it with two mc’s on the same layer…unless im doing it wrong or missing something
