# In "Z order", is it the greater the number the closer the layer is to the top of the pile?

**URL:** <https://forums.unrealengine.com/t/in-z-order-is-it-the-greater-the-number-the-closer-the-layer-is-to-the-top-of-the-pile/2133948>\
**Category:** UI\
**Tags:** unreal-engine, question\
**Created:** [November 18, 2024, 9:46pm UTC](https://forums.unrealengine.com/t/in-z-order-is-it-the-greater-the-number-the-closer-the-layer-is-to-the-top-of-the-pile/2133948 "2024-11-18T21:46:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![usa423](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/usa423/32/918773_2.png) [@usa423](https://forums.unrealengine.com/u/usa423)\
**Post date:** [November 18, 2024, 9:46pm UTC](https://forums.unrealengine.com/t/in-z-order-is-it-the-greater-the-number-the-closer-the-layer-is-to-the-top-of-the-pile/2133948/1 "2024-11-18T21:46:57Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![Mind-Brain](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mind-brain/32/906573_2.png) [@Mind-Brain](https://forums.unrealengine.com/u/Mind-Brain)\
**Post date:** [November 19, 2024, 12:00am UTC](https://forums.unrealengine.com/t/in-z-order-is-it-the-greater-the-number-the-closer-the-layer-is-to-the-top-of-the-pile/2133948/2 "2024-11-19T00:00:31Z")

</div>

Hey @usa423!

That would be correct! The lower the number the farther back it is, the higher the layer the closer to the front it is. 🙂

---

<div class="post-metadata">

**Author:** ![Nightwolf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nightwolf/32/917179_2.png) [@Nightwolf](https://forums.unrealengine.com/u/Nightwolf)\
**Post date:** [November 19, 2024, 3:37am UTC](https://forums.unrealengine.com/t/in-z-order-is-it-the-greater-the-number-the-closer-the-layer-is-to-the-top-of-the-pile/2133948/3 "2024-11-19T03:37:02Z")

</div>

Think of it like laying sheets of paper on your desk the first one is always 1, except in programming we start from 0 so the first one is 0, you lay one atop that its now 1

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [December 19, 2024, 3:37am UTC](https://forums.unrealengine.com/t/in-z-order-is-it-the-greater-the-number-the-closer-the-layer-is-to-the-top-of-the-pile/2133948/4 "2024-12-19T03:37:33Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
