App - firstmiddlelast/libresprite-extensions GitHub Wiki

  • app Global application object.

  • activeFrameNumber read-only. Returns the number of the currently active animation frame.

  • activeLayerNumber read-only. Returns the number of the current layer.

  • activeImage read-only, can be null. Returns the current layer/frame's image.

  • activeSprite read-only. Returns the currently active Sprite.

  • activeDocument read-only. Returns the currently active Document.

  • pixelColor read-only. Returns an object with functions for color conversion.

  • version read-only. Returns LibreSprite's current version as a string.

  • documentation () Prints all the documentation on the console (on Windows, this shows only if you have launched LibreSprite from the command line)