objects wont disappear when clicking the eye/telling it to disappear

im making a start menu for my game. im making the options menu currently, and i just want the main menu to disappear but it wont. even clicking on the eye symbol wont work. nothing disappears. It disappears in the editor, but when in play mode it wont disappear. im using tmp for my text and the button is a component of my tmp text.

Clicking on the eye symbol only makes it disappear from the scene view for convenience but still shows up in game view. I’m not sure what you want to do. Do you want to delete the menu from pressing the button?

Click the checkbox in the inspector to disable the GameObject