Disable UI Rendering

Hello Community,

I would like to disable all UI which are rendered. I am making a third person game, where the hitpoints of enemies are shown as health bars over their head. There is a new blind ability. If a player is blinded, he should not see the health bars if the enemies. This effect is done via post processing, which is working fine. But just the health bars, which are widget classes in screen space, are still shown. Is there an easy way to tell a camera or viewport (of one player) to not render any UI element or a class of ui elements?

See if this helps: How can i toggle HUD on and off using blueprint? - Blueprint - Unreal Engine Forums