# How to disable a widget from one pawn affecting the other pawn in the scene?

**URL:** <https://forums.unrealengine.com/t/how-to-disable-a-widget-from-one-pawn-affecting-the-other-pawn-in-the-scene/2722478>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [May 16, 2026, 1:54am UTC](https://forums.unrealengine.com/t/how-to-disable-a-widget-from-one-pawn-affecting-the-other-pawn-in-the-scene/2722478 "2026-05-16T01:54:36Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Ram07](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ram07](https://forums.unrealengine.com/u/Ram07)\
**Post date:** [May 27, 2026, 5:11pm UTC](https://forums.unrealengine.com/t/how-to-disable-a-widget-from-one-pawn-affecting-the-other-pawn-in-the-scene/2722478/21 "2026-05-27T17:11:48Z")

</div>

i have tested it my side and its working fine. i think i found your problem

1. i think for your x button widget, you have image or border something which is blocking the hostpot button
2. if you add print string for click event of hotspot button, click it once, x button widget comes, click on x, that is hidden and hotspot button widget comes, but if you click now, print string won’t fire.
3. because, this x button widget is covering the screen
4. destroy x button widget when you click on x button and test, it should work (for testing purposes only)
5. you know how to destroy widget right?

---

<div class="post-metadata">

**Author:** ![shineoooo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shineoooo](https://forums.unrealengine.com/u/shineoooo)\
**Post date:** [May 27, 2026, 8:03pm UTC](https://forums.unrealengine.com/t/how-to-disable-a-widget-from-one-pawn-affecting-the-other-pawn-in-the-scene/2722478/22 "2026-05-27T20:03:25Z")

</div>

You are 1000% right! I was going to say I am so good at destroying things. After 2 hours researching and trying, I could not destroy that widget. lol

I tried to use Remove From Parent in both Player Controller and the X button widget. I also tried Remove All Widget, which worked well for the hotspot button but, removed the rest of widgets in the viewport too. 🥲

So… during the research, I found out a way to make it work, which was to adjust the ZOrder under Add to Player Screen, and ZOrder in the pawn widget (which the default is set to -100). It fully works now!

I can’t say thank you enough and how much I am truly appreciated your help, be responsive and patient. Without you, I would be probably still stuck with my first question posted here. You really saved me hours of hours troubleshooting and researching answers. Thank you very very much sir! 🙏

---

<div class="post-metadata">

**Author:** ![Ram07](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ram07](https://forums.unrealengine.com/u/Ram07)\
**Post date:** [May 28, 2026, 5:33am UTC](https://forums.unrealengine.com/t/how-to-disable-a-widget-from-one-pawn-affecting-the-other-pawn-in-the-scene/2722478/23 "2026-05-28T05:33:10Z")

</div>

Great, please put as resolved

---

<div class="post-metadata">

**Author:** ![shineoooo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shineoooo](https://forums.unrealengine.com/u/shineoooo)\
**Post date:** [May 28, 2026, 2:28pm UTC](https://forums.unrealengine.com/t/how-to-disable-a-widget-from-one-pawn-affecting-the-other-pawn-in-the-scene/2722478/24 "2026-05-28T14:28:43Z")

</div>

I also want to highlight this answer from Ram, as I can only mark one solved.

When you have multiple independent button widgets in the viewport, they have orders. When you add the buttons to screen, you should consider it as a screen in the viewport, not an button icon. Because, when you add more button widgets, they overlap each other as a screen. Sometimes, it could block the button function underneath. The solution is either you destroy the widget like Ram said, or adjust ZOrder, which functions like Arrange in Illustrator.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/7/f/07f69fe06430febed7eaa61d12e514df9abbddea.png)

[Previous page](https://forums.unrealengine.com/t/how-to-disable-a-widget-from-one-pawn-affecting-the-other-pawn-in-the-scene/2722478.md?page=1)
