Name
LayerToFront -- move layer to frontmost z-position (V5.0)
Synopsis
LayerToFront(layer[, noswap])
Function
This command moves the specified layer all the way to the front. LayerToFront() is a convenience function. The same could be achieved by using SwapLayers() or SetLayerZPos().

If the optional argument noswap is set to True, 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.

Inputs
layer
layer to move to the front
noswap
set this to True if the layers shouldn't swap positions but the specified layer should just be moved to the front (defaults to False) (V7.1)

Show TOC