myScene.detach( layerObject ) in Anark Studio 2.5

Remove a layer from the scene.

Arguments

nametypedescription
layerObject Layer The Layer object to detach.
Return Type
(none)

Description

Removes the layer passed as an argument from the scene.