So I’ve added HUD to viewport and have made references to the HUD many times in other projects and it has worked just fine. However, I’m really struggling to see what I’ve done wrong here.
Within my player character I’ve created a widget, made it a reference and added it to viewport as you can see below.
I’m currently making an actor that when the player overlaps it, it sets the text inside my UMG widget to visible. However trying to access the variables inside that widget through the reference isn’t happening. Anyone know why?
hello.
in your overlapped actor’s blueprint, just plug your hud ref into a “set visibility” node and set it to visible
en remove the visibility in the end overlap event.
it should work fine