SkinLayerStudio API (Beta) / API Reference / Layer

remove()

Download Markdown

Deletes this layer. Ctrl+Z brings it back.

[Base], [Cache], [Export], and [Fallback] cannot be deleted. Trying raises ValueError. It does not fail silently.

Deleting a group layer also deletes the children inside it.

Signature

layer.remove() -> None

Example

layer = api.layer("Arm")
layer.remove()
💬

Need help with the API?

Open a support ticket or join the community discussion.

Contact Support