-- Hides all layers and sublayers inside a group, returning a list with all initial states of each layer's visibility.