I was wondering if there was any way to turn off battle Hud after battle has concluded or you escape from battle. Currently, when I do those things the Hud remains on despite defeating all enemies or running from battle.
My Hud elements are turned on initially when battle starts with a switch.
Does the HUD not go away when you turn off the switch?
I would suggest, rather simply, not using a switch - I don't see any reason for it.
Just tell the HUD to only be active if you're in battle, the game engine already has a point of reference for that. $gameParty.inBattle()
There is a Display Conditions>Custom Code option in HUD Maker Ultra. Presumably you would put it there
Edit: I also noticed there is a Player in Battle? in other conditions. Why didn't you just use that to begin with?
Then make the HUD display multi conditional: Switch is ON and Player in Battle
I made the hud element multiconditional using the Switch and Player in Battle but the HUD still remains on.