LayerToFront(layer[, swap])
LayerToFront()
is a convenience function. The same could be achieved
by using SwapLayers() or SetLayerZPos().
If the optional argument swap
is set to False
, the layer is brought
to the front by simply moving it to the front. This is different from
the default behaviour which simply swaps the positions of the front layer
and the layer specified by layer
. If swap
is set to False
, layer
can also be the name of a layer group.
False
if the layers shouldn't swap positions
but the specified layer should just be moved to the front (defaults to
True
) (V7.1)