Gmod bugg Please help

When i open gmod and play everything seems okay.But when i try to minimize or close the gmod tab my screen goes full black. i can still click and do things but my screen is 100% black.
anybody knows why this is happening? when i first downloaded the game it did not do that. after i added the addons and the spawnlists it would just black my screen when i tried to exit

Did you try windowed-borderless? I usually play in windowed-borderless most of the time.

Thanks sooooooo much i do not know many steam “things” you can do. but this one really helped me
i had tried to make it windowed before via the in game settings but this just made it instantly turn into a black screen
again many thanks