For my game, I create game scene for which I set HUD to it.
First my game scene use BoundCamera, so I use hud to set score text, dollar text and setting button. Now on game scene when I touch on setting button, the child scene (setting scene) come up because I attached it to game scene.
I use child scene because of pause/resume functionality added to the setting scene.
When child scene display on the screen at the same time hud content also displayed on the sceeen. But I don't want that hud content of my child scene (setting scene).
From other post of this forum I found that made hud.setVisible(false).
But this solution does not work for me because the touch area of hud's children remain active even though it were not displayed on the screen. So when player touch on these areas the effect of touch become available even if the hud is not displayed on the screen.
Also I like to mention that my development platform is AndEngine. I hope someone give me best guidance on this.