DirectWaitBar

Hi all,
Does anyone know how to delete a DirectWaitBar.
I am using a DirectWaitBar by using the following:
bar = DirectWaitBar(text = “General Health” , value= GameSetting.health, pos=(-.90,0,.94), scale=.4)

but I do not find any function to help hide it or remove it.

Regards,
Dev.

Hmm… There appears to be a method named “destroy” (which apparently takes no parameters aside from the usual “self” parameter). I don’t know whether that is, in fact, the appropriate method, or whether it’s safe to use, and I haven’t done so myself, so you might want to wait for better-informed advice, but that would probably be my guess. :slight_smile:

Indeed, destroy() is the correct function.
You could also use hide() or show() to hide it.