Version: 2019.2

Tools.visibleLayers

Switch to Manual
public static int visibleLayers ;

Description

Which layers are visible in the Scene view.

This is a bitfield.