Edit this page

up.Layer up.Layer.prototype.subtree

This feature is experimental. It may be changed or removed in a future version.

Returns an array of this layer and its descendant layers, with the closest descendants listed first.

Descendant layers are all layers that visually overlay this layer.

The array elements are ordered by distance to this layer. The first element is this layer. The second element is this layer's direct child. The last element is the frontmost layer.

Return value