NPC Collision Box Detection

New to Unreal Engine. I am trying to make it so when the player enters into the NPC’s collision box a key appears to interact with them, then when you press said key and are in the collision box it will open up a widget. I have the first part working but I believe something is incorrect in my Blueprint script that is preventing the widget from opening when in the collision box and pressing the key. I decided to make a boolean variable that is turned true when the player is within the collision box and false when outside. I know that works because the text render appears when the player enters the collision box but when I press the key input the widget does not appear. Any direction is greatly appreciated.

heyho ! :slight_smile:

for the HUD show part

now the fun part :slight_smile: attach this behind the event tick node

the thing is that those Keyboard actions wont work when its not ur character (look into bp when playing you can see what fires and what doesnt)

or yes u simply use a bool that would do it too then u dont need those “is overlapping actor” thing, just replace it with the get node of your Bool and connect it to the AND boolean:)