# What governs the "master" widget?

**URL:** <https://forums.unrealengine.com/t/what-governs-the-master-widget/717454>\
**Category:** Blueprint\
**Tags:** ue4-build, unreal-engine, Widget, question, Blueprint\
**Created:** [November 29, 2022, 5:25am UTC](https://forums.unrealengine.com/t/what-governs-the-master-widget/717454 "2022-11-29T05:25:20Z")\
**Posts on this page:** 3\
**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 29, 2022, 5:25am UTC](https://forums.unrealengine.com/t/what-governs-the-master-widget/717454/1 "2022-11-29T05:25:21Z")

</div>

I mean is there some kind of a hierarchy as to determine which widget takes top spot over another, like layering in a paint program?

Like how the final animation pose in the animation BP always is at the top.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [November 29, 2022, 8:48am UTC](https://forums.unrealengine.com/t/what-governs-the-master-widget/717454/2 "2022-11-29T08:48:31Z")

</div>

Yes! Widgets do actually have a Z-order associated with them. If the Z-order is not set manually, the last widget spawned will be on top.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/5/4750ad62458644af155e3279fadc0c791cdf29b7.png)

This is for slots on a canvas however, if you overlay new widgets on top of each other they go by order of last added.

---

<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 29, 2022, 7:25pm UTC](https://forums.unrealengine.com/t/what-governs-the-master-widget/717454/3 "2022-11-29T19:25:56Z")

</div>

Thanks!
