Skip to content
firstmiddlelast edited this page Aug 26, 2023 · 2 revisions
  • name, read+write. The name of the layer.

  • isImage, read-only. Returns true if the layer is an image, false if it is a folder.

  • isBackground, read-only. Returns true if the layer is a background layer.

  • isTransparent, read-only. Returns true if the layer is a non-background image layer.

  • isVisible, read+write. Gets/sets whether the layer is visible or not.

  • isEditable, read+write. Gets/sets whether the layer is editable (unlocked) or not (locked).

  • isMovable, read-only. Returns true if the layer is movable.

  • isContinuous, read-only. Prefer to link cels when the user copies them.

  • flags, read-only. Returns all flags OR'd together as an int

  • celCount, read-only. Returns the number of cels.

  • cel (index) retrieves a Cel

    • Argument: index The number of the Cel
    • Returns: A Cel object or null if an invalid index is passed

Clone this wiki locally