# Swapdepth" too much of a good thing

**URL:** <https://forum.kirupa.com/t/swapdepth-too-much-of-a-good-thing/22685>\
**Category:** Uncategorized\
**Created:** [June 7, 2003, 2:21am UTC](https://forum.kirupa.com/t/swapdepth-too-much-of-a-good-thing/22685 "2003-06-07T02:21:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wassumara](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@wassumara](https://forum.kirupa.com/u/wassumara)\
**Post date:** [June 7, 2003, 2:21am UTC](https://forum.kirupa.com/t/swapdepth-too-much-of-a-good-thing/22685/1 "2003-06-07T02:21:16Z")

</div>

Ok I followed the tutorial for "Changing Stacking Order (swapdepth) and it worked  
wonderfully. Thanks! Now, my problem is that I used to have a menu on the  
top of the page that goes across the screen. I want that menu (no a pop up is just like a title of the site) to remain like a wall to the things on the bottom that people can move around. In other words, I don’t want the draggable windows to cut across the top menu bar.

I have no clue how to do this.  
This is the code I have for each of the draggable objects (15):

on (press, release, dragOver, dragOut) {  
\_root.x +=2;  
\_root.green.swapDepths(\_root.x);

help!

Many thanks.
