Appearance
anim-format (runtime format) / AnimSymbol
Interface: AnimSymbol
Properties
| Property | Type | Description |
|---|---|---|
commands? | Record<string, PlaybackAction[]> | frame → commands executed on entering that frame |
folders? | AnimFolder[] | folders whose look covers their layers (AnimLayer.folder); only folders with a look are listed. Additive in v1: older players draw the layers without it. |
frameBase? | 0 | the number the symbol's timeline shows for its first frame (its First frame setting; absent = 1, the main timeline is always 1). Frames in this file stay 0-based; the players' script API counts from this (owner 2026-11-18): clip.timeline.goto(5) = the frame the editor shows as 5 (@utils/pure/frameBase). |
kind? | "root" | "root" = a document's main timeline (its scenes; the camera applies); absent = a library symbol |
labelFrames? | [name: string, frame: number][] | every label with its frame when a name repeats (labels are unique per SECTION, owner 2026-11-05); absent = labels says it all. Additive in v1. |
labels | Record<string, number> | label → first frame (0-based, global within the symbol) |
layers | AnimLayer[] | bottom → top draw order |
markers? | AnimMarkerLayer[] | the symbol's marker layers (owner 2026-11-14): hit boxes, points, polygons … as DATA only — no player draws them; read them with symbolMarkersAt. Additive in v1. |
name | string | - |
p3? | AnimPreserve3d | preserve 3D (t3d.ts AnimPreserve3d, plan R9): the 3D cards inside share the enclosing space (a cube, a carousel) instead of being flattened. Additive in v1. |
persp? | AnimPersp | the perspective the 3D items inside this symbol use (Library → Details…); absent = the enclosing one (finally the scene's). Additive in v1. |
plugins? | AnimPluginData | data for plugins (owner 2026-11-16): plugin name → its own data, any JSON, exactly as saved on the symbol (AnimPluginData) — no player reads it. Additive in v1. |
rigs? | AnimRig[] | RIGS (owner 2026-11-22, rig.ts): one per bone layer — bones, IK constraints and their keys baked per frame; layers (AnimLayer.bone) and mesh items (AnimWarp.sk) follow them, posed by the player every frame. Absent = none. Additive in v1: an older player draws the followers where they are at rest. |
s9? | Scale9 | 9-slice scaling (Library → Details…, Flash "Enable guides for 9-slice scaling"): an instance's scale stretches only the middle between these cut lines (symbol space); the corners keep their size. Additive in v1. |
scenes | object[] | scenes, in play order, as ranges of the symbol's frames; scripts = Behaviours alive while the scene plays. Additive in v1. |
scripts? | AnimScriptRef[] | Behaviours every instance of this symbol gets. Additive in v1. |
sounds? | AnimSoundClip[] | sounds on this timeline (sound layers). Additive in v1. |
stopAtEnd? | boolean | play once and hold the last frame (own clock and synced instances); absent = loop. Additive in v1. |
totalFrames | number | - |
vals? | AnimValues | VALUES + BINDS (owner 2026-11-22): this timeline's named values and the properties its formulas drive, worked out by the player every frame (binds.ts has THE rules). Absent = none. Additive in v1. |