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

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?

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. :smiling_face_with_tear:

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! :folded_hands:

Great, please put as resolved

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.