CreatorAPI

Main API interface.

CreatorAPI interface

Main API interface.

Signature:

interface CreatorAPI

Remarks

This is the primary interface for interacting with LottieFiles Creator. Access it via the global creator object.

Properties

Property

Modifiers

Type

Description

activeScene

readonly

Scene

The currently active scene

apiVersion

readonly

APIVersion

The API version being used

assets

readonly

ReadonlyArray<Asset>

Array of all scene, image, audio, and uploaded font assets in the project.

clientStorage

readonly

ClientStorage

Browser storage for persistent data.

closePlugin

() => void

Closes the plugin and stops it from running

openLink

(url: string) => void

Opens an external link in the user's default browser

scenes

readonly

ReadonlyArray<Scene>

Array of all scenes in the animation

selection

readonly

SelectionAPI

API for accessing the currently selected nodes and keyframes

switchToScene

(scene: Scene) => void

Switches to a different scene

timeline

readonly

TimelineAPI

API for timeline playback control

ui

readonly

UIAPI

API for managing the UI window

utils

readonly

UtilsAPI

Utility helpers for working with the plugin API.

Methods

Method

Description

createScene(opts)

Creates a new scene.

getAvailableFonts()

Returns the font catalog available to this project, including Creator's curated preset fonts, Google Fonts, and uploaded font assets.

off(type, callback)

Removes an event listener

on(type, callback)

Registers an event listener for events

Last updated: October 8, 2026 at 10:45 AMEdit this page