Widget image doesn't appear

Hi,

What I want to do, is to make an image visible when a key is picked up in the game, I thought I had it right, but it doesn’t appear and generates an error I can’t resolve, see below.

  1. The key item that fails at the ‘Show Key Img’ step.

It’s error message

  1. The widget logic

The widget designer

Nevermind I found a solution, see below for those that follow:

Right hand click ‘Found Widgets’ to create a variable and then connect that into your function your custom event on the UI

I found a solution, see below for those that follow

Please do not advertise it as solution. This is the equivalent of whacking the script with a ham-fist. The only reason you found it is because someone else did not know how to do it properly and folks now propagate this… thing.


To do it correctly, think about where the WB Player HUD is created - that BP holds a reference to the widget. That’s one way. But tbh, it’s probably redundant anyway and there is a better one. Since it’s Player HUD, the player is probably (hopefully!) referencing it and is also the entity responsible for triggering the Event Interact - which should return a value.

Player → Interact → Get Player Hud → Show Key Ring