# Trying to force widget to stay on screen

**URL:** <https://forums.unrealengine.com/t/trying-to-force-widget-to-stay-on-screen/1184721>\
**Category:** UI\
**Tags:** unreal-engine, question\
**Created:** [May 31, 2023, 4:25pm UTC](https://forums.unrealengine.com/t/trying-to-force-widget-to-stay-on-screen/1184721 "2023-05-31T16:25:36Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Krozjin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krozjin](https://forums.unrealengine.com/u/Krozjin)\
**Post date:** [May 31, 2023, 8:29pm UTC](https://forums.unrealengine.com/t/trying-to-force-widget-to-stay-on-screen/1184721/6 "2023-05-31T20:29:10Z")

</div>

One rabit hole later I found an old post of yours @Everynone from 2017 that helped me out with getting those variables through:

> [@Getting reference to a widget created by the Menu Anchor.](https://forums.unrealengine.com/t/getting-reference-to-a-widget-created-by-the-menu-anchor/409990/3):
>
> Hello Is there a way to access a widget created by the menu anchor? For example, I want to be able to pass some additional data to it after creation. I can access the class, but not the actual created widget. Getting child / content / parent doesn’t work. I know I could use a construct event in the menu blueprint to get the data from a player controller for example, but I want to have multiple menus open at once so I have no way of telling them which one is which. Thanks.

So thanks for point me in the right direction. A bit of fiddling left to do but the main problem has now been fixed! 😃

---

_[View the full topic](https://forums.unrealengine.com/t/trying-to-force-widget-to-stay-on-screen/1184721)._
