set_active

LayerSlider.set_active(active)

Set whether the widget is active.