# Depths question, help needed

**URL:** <https://forum.kirupa.com/t/depths-question-help-needed/220546>\
**Category:** Uncategorized\
**Created:** [March 27, 2007, 8:34am UTC](https://forum.kirupa.com/t/depths-question-help-needed/220546 "2007-03-27T08:34:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hunson](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@Hunson](https://forum.kirupa.com/u/Hunson)\
**Post date:** [March 27, 2007, 8:34am UTC](https://forum.kirupa.com/t/depths-question-help-needed/220546/1 "2007-03-27T08:34:55Z")

</div>

Hey guys, check this out.

i’ve attached some buttons from the library, all i need is how do you make them get the next highest depth?

it means when you press a button, it will overlap the other ones (quite a big button)

i’ve tried:

[AS]  
btn1.onRollOver = function(){  
btn1.getNextHighestDepth()  
}  
[/AS]

but it doesn’t work,hahah, din’t think it would be that easy.

help needed!
