Manipulating an Image inside a widget using a Blueprint from the PlayerCharacter

Hello Everyone,

This is my very first post to this forum! I am very new to UE5 and am totally addicted to it. This is probably a very simple question so bare with me.

I created a widget which contains a 4 slot toolbar on it. From within the PlayerCharacter, I use the keyboard commands 1 through 4 to switch the characters abilities. What I would like to do is highlight the ability that was selected which would require an image inside the widget that looks like a highlight texture. So by default, the 1st slot in the toolbar would be highlighted, then when I press “2” that highlight box simply moves to the second position in my toolbar, etc… etc…

this is not meant to be a traditional inventory control toolbar. I just want that highlight box to move over the 4 spots depending on the keyboard command I press (1 through 4).

Hope I explained this well enough and thank you for the response !

One way of doing this, from your widget, your 4 slot will contain each your image highlight set to invisible as default.
Add a custom event with an input param:


This event will set visible your highlight texture.

Then from your character bp, write the slot skill like this: