OOF2: The Manual

Name

OOF.Graphics_n.Layer.Hide — Hide the selected graphics layer.

Synopsis

OOF.Graphics_n.Layer.Hide(n)

Details

  • Parent Menu: OOF.Graphics_n.Layer
  • Callback: function GhostGfxWindow.hideLayer in module ooflib.common.IO.ghostgfxwindow
  • Options: disabled=1
  • Parameters:

    n
    Layer index. Type: Integer.

Description

Hide, but do not delete, a graphics Layer.

In GUI mode, this command operates on the currently selected Layer. In text mode and in scripts, the Layer is specified by its position n in the window's layer list. The unlisted layers must be counted when computing n. This command isn't very friendly in scripts, because it can be hard to determine the parameter n.