# unable to remove widget from parent .. Sometimes/Bug?

**URL:** <https://forums.unrealengine.com/t/unable-to-remove-widget-from-parent-sometimes-bug/1210582>\
**Category:** UI\
**Tags:** unreal-engine, question\
**Created:** [June 26, 2023, 12:35am UTC](https://forums.unrealengine.com/t/unable-to-remove-widget-from-parent-sometimes-bug/1210582 "2023-06-26T00:35:08Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [June 26, 2023, 10:26am UTC](https://forums.unrealengine.com/t/unable-to-remove-widget-from-parent-sometimes-bug/1210582/7 "2023-06-26T10:26:43Z")

</div>

> [@Wildlight03](#):
>
> I’m not sure I follow with not working with the viewport though. Can i add the menu slot widgets in some other way? Still pretty new to all this so it might just be a knowledge gap there.
> 
> The radial menu and the number of slots are created dynamically so I’m not sure how it would fit together.

Not only would it work well together but it would also allow for more control and flexibility, and one can preview it all in real time, without launching the game. This is very quick & fairly dirty:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/f/73fa8176a68bae5b216e3d1f66976314fa2ba27f.png)

Do note that this is a single widget, you can have many of them (maybe irrelevant in your case since you may only need 1 ever) but you can manipulate it at a whim. Let’s say I want to hide it → I hide just this one widget. If I wanted to display it over or under another widget, I need to manipulate only this one widget.

And since it’s a container, you do not need an additional array:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/7/7d7c14471f55eb5c9b4158a776cf6cc894417f51.png)

The panel **is** an array. This can dramatically simplify things as script inevitably gets more and more convoluted.

---

_[View the full topic](https://forums.unrealengine.com/t/unable-to-remove-widget-from-parent-sometimes-bug/1210582)._
