# Depth management beyond me.. \[AS3\]

**URL:** <https://forum.kirupa.com/t/depth-management-beyond-me-as3/270130>\
**Category:** flash\
**Created:** [September 5, 2008, 12:37pm UTC](https://forum.kirupa.com/t/depth-management-beyond-me-as3/270130 "2008-09-05T12:37:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Valaran](https://avatars.discourse-cdn.com/v4/letter/v/ee59a6/32.png) [@Valaran](https://forum.kirupa.com/u/Valaran)\
**Post date:** [September 5, 2008, 12:37pm UTC](https://forum.kirupa.com/t/depth-management-beyond-me-as3/270130/1 "2008-09-05T12:37:37Z")

</div>

Hello,

I’m having some trouble getting around this little depth thing of mine… Anyway, please look at the picture I attached, now, there is a number on each planet… Quite obviously the depth… But I’ll refer to the planets by their number.

So, imagine planet 1 is behind planet 0, this could be handled by just switching their index, but… As planet 2 is in a orbit around planet 1, it would have to be switched as well, same would apply when they emerge again…

I’ve got no idea how I should approach this :crying:

Any help would be appreciated, thank you.

_Note that the ‘real thing’ contains way more than 3 planets_
