gamify Posted March 1, 2017 Share Posted March 1, 2017 i am not able to remove 3 buttons inside the popup modal but the popup modal container is removed so i need to remove all its child elements too but removeChild(panel) not woking panel= new UiContainer(this.pos.x, this.pos.y, 450, 325,"Enter your Feedback","UIPanel"); panel.addChild(new ButtonUI( 30, 200, "green", "Accept", "accept_id1", UipanelButton )); me.game.world.addChild(panel); i used below code so only container is removed but not buttons (3 buttons) ,on click of the button inside panel me.game.world.removeChild(panel); Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.