# Child Z-Order of vertical boxes

**URL:** <https://forums.unrealengine.com/t/child-z-order-of-vertical-boxes/463845>\
**Category:** UI\
**Tags:** layout, unreal-engine, question, UMG\
**Created:** [April 16, 2020, 4:25pm UTC](https://forums.unrealengine.com/t/child-z-order-of-vertical-boxes/463845 "2020-04-16T16:25:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![indivelope](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/indivelope/32/974286_2.png) [@indivelope](https://forums.unrealengine.com/u/indivelope)\
**Post date:** [April 16, 2020, 4:25pm UTC](https://forums.unrealengine.com/t/child-z-order-of-vertical-boxes/463845/1 "2020-04-16T16:25:00Z")

</div>

Hello again, I have an animation that zooms a child element, when it zooms it overlaps others. The problem is when it’s hovered over and ‘zoomed’, it’s z-order makes it look manky.

How the helicopter do I set it’s Z order to be on top? The docs say its only possible with overlays and AddChild().  
That’s so silly!

Any help would be appreciated, thanks 🙂

 ![299842-annotation-2020-04-17-015037.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/b/e0b90f936e2553e0c44964e84a5b29d7f3d1f572.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [April 16, 2020, 5:05pm UTC](https://forums.unrealengine.com/t/child-z-order-of-vertical-boxes/463845/2 "2020-04-16T17:05:29Z")

</div>

You cannot. The last added child draws on top. The canvas panel slots can be zOrdered at will, though. You’d just need to script stacked buttons. Or place them manually.

* * *

You could shift the unselected elements up / down away from the (rather striking looking!) button but that may not be the desired behaviour you’re after. Just a thought.

---

<div class="post-metadata">

**Author:** ![indivelope](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/indivelope/32/974286_2.png) [@indivelope](https://forums.unrealengine.com/u/indivelope)\
**Post date:** [April 16, 2020, 5:55pm UTC](https://forums.unrealengine.com/t/child-z-order-of-vertical-boxes/463845/3 "2020-04-16T17:55:17Z")

</div>

Thanks 🙂 I thought that was the case, I managed to make it elegant enough by not adding so zoom… albeit not what I wanted but the desired effect is good. I like the automatic layout of vertical boxes etc so I’d rather avoid canvas panels and overlays…I did think of writing my own vertical boxes but that seemed redundant. Thanks for posting
