set complete folders hidden/unhidden in game

look lyra project map they do

but i dont understand how

me also want to do that

they have like a trash folder and all what is inside dont appear in game

really practical
but i dont understand how they have done