How do I make a Widget update (to another image) each time i pick up an item?

Basically, All that happens is a 2d image that changes in the widget every time I open it with the " i " key.

I understand how to set the visibility.
I just can’t figure out how to have each item i pick up, (an actor) tell the widget to change the image.

1 Like

You could use an Interface or Castto node or event dispatchers

Interface probably being preferred here

  • ensure the Image is flagged as IsVariable at the top of its details panel
  • create a Custom Event inside the widget:

  • when you pick up the item, get texture from the actor, call the event and pipe it into the custom event’s Texture data pin

How to do it all will depends on the script that you currently have. If you need more tangible help, share the script:

  • show where / how you create the widget
  • show how you pick up items
1 Like