# Could someone tell me why this doesnt work? (swapDepth)

**URL:** https://forum.kirupa.com/t/could-someone-tell-me-why-this-doesnt-work-swapdepth/37641
**Category:** Uncategorized
**Created:** [December 12, 2003, 2:27pm UTC](https://forum.kirupa.com/t/could-someone-tell-me-why-this-doesnt-work-swapdepth/37641 "2003-12-12T14:27:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![b0b0](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@b0b0](https://forum.kirupa.com/u/b0b0)
#### Post date: [December 12, 2003, 2:27pm UTC](https://forum.kirupa.com/t/could-someone-tell-me-why-this-doesnt-work-swapdepth/37641/1 "2003-12-12T14:27:12Z")

</div>

could someone help me to figure out this, and how to code this correctly, it’s probably something simple though right now I can’t figure it out!

I want the circle to swapdepth with the box when the circle.\_y is behind the box.\_y

steer the circle with the arrow keys, the actions are in the first frame of each movie clip.

thanx in advance
