SkinLayerStudio API (Beta) / API Reference / Layer

set_visible()

Download Markdown

Shows or hides this layer. The heatmap updates with it.

Hiding does not delete the weights. Set it back to True and the original weights show again.

Signature

layer.set_visible(visible) -> None
visible Meaning
True Shown.
False Hidden.

Example

layer = api.layer("Arm")
layer.set_visible(False)
print(layer.visible)
💬

Need help with the API?

Open a support ticket or join the community discussion.

Contact Support