Name
HideLayer -- hide a layer (V1.5)
Synopsis
HideLayer(id)
Function
This function hides the layer specified by id from the display. The layer will not be removed. It will just be hidden. You can bring it to the display again, by calling ShowLayer(). If you want to remove it completely, use RemoveLayer() or Undo().

You need to enable layers before you can use this function. See Layers introduction for details.

Inputs
id
identifier or name of the layer to be hidden
Example
EnableLayers()
NPrint("Hello World!")
WaitLeftMouse
HideLayer(1)
WaitLeftMouse
ShowLayer(1)
The code above prints "Hello World!" to the display, then hides this text and displays it again.

Show TOC