How to Hide HUD when Pause is enabled?

Hey im real fresh to unreal just getting to grips with it so this is probably a simple one. im wondering how to set the visibility of the HUD to be visible only when the pause menu isnt open.

I have the pause menu made and working and i have the HUD widget set up and working to, just need help getting the hud to check if the pause menu is open or not before casting to the players viewport

Thanks for the reply.

im struggling getting my HUD UI and pause settings to talk to eachother, i have the pause menu under BP_ThirdPersonCharacter, and the HUD is under BP_ThirdPersonGame. is this causing the issue?

EDIT:

figured it out, i had to do the hiding function within the HUD event graph :slight_smile:

Now i just need to make it work better. at the moment it keeps looping and adding overlapping ui elements when unpaused whcih results in increasing lag

Do you mean Game Mode? Where do you pause the game, in which BP, the character?

  • if this is the game mode:

  • this is the player pausing the game and hiding HUD: