Edit this page

up.Layer up.Layer.prototype.index
Property

Returns the zero-based position of this layer in the layer stack.

The root layer has an index of 0, its child overlay has an index of 1, and so on.

Return value

number

index

This website uses cookies to improve usability and analyze traffic.
I accept or learn more