property zIndex

(r/w) int32 zIndex;

Typ

Zugriff

This property sets and gets the current z-index for this box relative to other boxes in the current stack layer.
// move box down one level in the stack layer.
var bx = scene.getBoxById("tempBox");
if (bx)
    bx.zIndex = bx.zIndex + 1;