HideLayer(id)
id
. The
layer will not be removed. It will just be hidden. You can make
it visible 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.
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.