# Clicking on object and updating widget UI

**URL:** <https://forums.unrealengine.com/t/clicking-on-object-and-updating-widget-ui/2715644>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine, question\
**Created:** [April 15, 2026, 5:48pm UTC](https://forums.unrealengine.com/t/clicking-on-object-and-updating-widget-ui/2715644 "2026-04-15T17:48:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark2b7mil1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mark2b7mil1](https://forums.unrealengine.com/u/mark2b7mil1)\
**Post date:** [April 15, 2026, 5:48pm UTC](https://forums.unrealengine.com/t/clicking-on-object-and-updating-widget-ui/2715644/1 "2026-04-15T17:48:01Z")

</div>

Hi all,

I want to have an object in the world that when clicked on, brings up a text box in the widget BP. Currently the BP\_selector sends a message to the BPI\_interact interface when the obejct is clicked on. Things seem ok there since I am able to print a line in the widget\_BP after the interact event is implemented/fired after i click on the object. things go awry after that. the floor\_44\_info variable is a border that holds the text i want to show and i cant get past it being invalid. i got an error message before implementing the is valid node that floor\_44\_info variable had a value of none. im confused because the variable is coming directly from the widget so it should have some value, and i am showing/hiding other elements of the widget when clicking on widget buttons. seems like things are breaking after the event interact fires but i dont know why. any help is greatly appreciated

 ![BP_selector](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/8/8a8bdea7206fd88bf71a779233cd30e1cab06736.jpeg)

 ![widget](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/a/80ad77d10e604c020e4f72ec3cfa2b2f76244bf7.jpeg)

 ![bpi_interact](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/3/56342158067f6ac15cb3cba9cbc124217187d5c3.jpeg)

---

<div class="post-metadata">

**Author:** ![JaredTherriault](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jaredtherriault/32/1194499_2.png) [@JaredTherriault](https://forums.unrealengine.com/u/JaredTherriault)\
**Post date:** [April 15, 2026, 6:08pm UTC](https://forums.unrealengine.com/t/clicking-on-object-and-updating-widget-ui/2715644/2 "2026-04-15T18:08:58Z")

</div>

Can you show the designer view for the widget blueprint? It could help diagnose the issue.

The only thing I can think of immediately is that the widget itself is not yet valid or constructed, or all of the pieces aren’t yet constructed. Do you generate the floor\_44\_info widget on demand?

---

<div class="post-metadata">

**Author:** ![mark2b7mil1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mark2b7mil1](https://forums.unrealengine.com/u/mark2b7mil1)\
**Post date:** [April 15, 2026, 11:18pm UTC](https://forums.unrealengine.com/t/clicking-on-object-and-updating-widget-ui/2715644/3 "2026-04-15T23:18:56Z")

</div>

heres the deisgner view. im generating the widget and adding to viewport in the player controller BP. player controller attached as well

 ![widget_designerview](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/6/5/9655b6a1d6381b3102a276e7651240274b9a8c9a.jpeg)

 ![playercontroller](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/6/8366fdfbee322317a8ccc165ae4a1ce7f23db572.jpeg)

---

<div class="post-metadata">

**Author:** ![mark2b7mil1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mark2b7mil1](https://forums.unrealengine.com/u/mark2b7mil1)\
**Post date:** [April 16, 2026, 5:58pm UTC](https://forums.unrealengine.com/t/clicking-on-object-and-updating-widget-ui/2715644/4 "2026-04-16T17:58:52Z")

</div>

For anyone interested in the solution: The issue was that after the interface event fired i was trying to access the floor 44 info variable from a second instance of the widget\_bp. the solution was to go the widget BP and get player controller, cast to my instance of the player controller where the widget is being created and grab that instance of the widget and take the variable from there

---

<div class="post-metadata">

**Author:** ![RelievedPuma1644](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RelievedPuma1644](https://forums.unrealengine.com/u/RelievedPuma1644)\
**Post date:** [October 31, 2026, 2:59pm UTC](https://forums.unrealengine.com/t/clicking-on-object-and-updating-widget-ui/2715644/5 "2026-10-31T14:59:11Z")

</div>

Great explanation! The issue was clearly related to accessing the wrong widget instance. Getting the Player Controller, casting to the correct instance, and retrieving the widget reference is a clean solution. Thanks for sharing the fix—it could save others a lot of debugging time! 👏
