property layered

(r/w) bool layered;

Typ

Zugriff

This property sets and gets the layered flag of the box. A box is layered when its position style is fixed and the zIndex style is non-zero.
function onSample()
{
    var myBox = scene.getBoxById("myBox");
    if (myBox.layered)
        shell.print("Box is layered");
    else
        shell.print("Box is not layered");
}