Widget problem when pressing a keyboard

Hi everybody,
How I can make this work?

I have my character overlap another character - I have set this in a variable called “Suprapunere”. (I have a capsule component on that ‘another character’)
Then when I press the input that I have defined in project settings with this condition
“suprapunere” the widget won’t appear on my screen.

Please help me! :slight_smile:

hi @wdAMf1517

There could be an issue on your detection overlap that resets your variable.

try setting the variable to true on BeginOverlap and false on EndOverlap

Also you cast to your player is not required unless you wish to use it later? and try removing the owning actor from the widget, if you are already inside the player code i dont think its required, i may be wrong, especially as youre using playercontroller ID 0 which means single player.

let me know how you get on

1 Like

Worked like a charm. <3
Thank you! :upside_down_face:

1 Like