Appearance
anim-format (runtime format)
Classes
| Class | Description |
|---|---|
| ClipClock | a timeline a chain can drive |
| ClipEvent | What a listener of an emit action is given. value is whatever the action carries (plain JSON or nothing); frame is counted as that timeline shows it (frameBase, default 1). |
| ClockRound | what clocks driven together share: one action round at a time (LoopGuard) and the nesting depth of action lists |
| LoopGuard | The same-frame loop guard (owner 2026-11-05, changed 2026-11-14): within one ROUND (one cascade of actions started by a frame, a click or a script call), a gotoNow back to a frame the clip already visited in that round would loop for ever — THAT jump is void (nothing moves, the clip plays on), with a console warning. gotoAfter never loops here: it waits a frame time, so it is a round of its own. |
Interfaces
| Interface | Description |
|---|---|
| AnimAnchor | AnimLayer.an (main timeline only): absent = moves with the stage |
| AnimBind | A BIND: property c of the object of object layer l follows formula e (value in it = what the timeline says). Channels: "x" "y" "rotation" (degrees) "scaleX" "scaleY" "skew" (degrees) "alpha" (0..1) "visible" "text" "progress" (0..1 of the symbol shown) "in.<input id>"; the layer's own: "layer.alpha" "layer.visible", "layer.stroke.<i>.<trimStart | trimEnd | trimOffset | dashOffset>" (the lines of item i's vector art). |
| AnimBone | a bone: the editor's Bone (rest pose, length, inherit, limit) + its name |
| AnimCamera | A scene's camera (AnimSymbol.scenes[i].camera, main timeline only): the frame size and its pose over every frame of the scene. |
| AnimCycle | one looped object of a layer (AnimLayer.cy) |
| AnimDataFile | a font or data file shipped with the animation |
| AnimExport | what an export id names: a symbol key, or an asset id (sound / font / data) |
| AnimExternal | A symbol in its own JSON file (AnimFile.externals). |
| AnimFile | - |
| AnimFilter | One instance filter: t = kind ("dropShadow", "blur", "glow", "bevel", "outline", "adjustColor", "bloom", "motionBlur", "pixelate", "rgbSplit", "noise", "innerShadow", "gradientOverlay", "gradientGlow", "gradientBevel", "zoomBlur", "spinBlur"), p = its parameters (numbers, "RRGGBB" colours, switches, gradient strings, choices) as the editor's filter catalogue defines them. Players skip unknown kinds. Blend mode strings (b, blend) are pixi's names plus Flash's group modes "invert" / "layer" / "alpha" / "erase" (pixi-hm05 setBlend). |
| AnimFolder | An editor folder with a look (owner 2026-10-25): its layers are drawn as one group — alpha / visibility / blend / filters / matrix over all of them (not per layer). Additive in v1. |
| AnimFollowKey | one AnimLayer.fk switch |
| AnimGradient | A gradient: colour offsets along unit space, m = unit → shape space (linear: x from 0 to 1; radial: the unit circle) |
| AnimIk | an IK constraint: the editor's BoneConstraint |
| AnimInput | An Input: a free value code sets (clip.inputs.<n>), a bind of the enclosing timeline gives, or an instance's iv holds (by name). |
| AnimLayer | - |
| AnimMarker | one marker on a marker layer key |
| AnimMarkerAt | one marker of a symbol at a frame |
| AnimMarkerField | - |
| AnimMarkerLayer | a marker layer: its keys as runs of symbol-global frames |
| AnimMarkerType | a marker type (owner 2026-11-14) — the editor's MarkerType as data |
| AnimMedia | One media file of AnimFile.media. |
| AnimMesh | A mesh in the runtime file (AnimFile.meshes): rest points in the item's local space and the triangles over them. |
| AnimMotionBlur | Motion blur (owner 2026-10-30, motionBlur.ts): the item / layer blurs along its own path over the exposure (the time since the screen last drew with smoothing, else one frame) × s / 360. Additive in v1. |
| AnimObject | AnimLayer.obj: an object layer's one object |
| AnimPersp | A perspective the 3D inside a scene / symbol uses (AnimSymbol.persp, scene entries' persp): field of view in degrees + the vanishing point in that timeline's own space. |
| AnimR3 | A card's 3D pose in the runtime format (ItemLook.r3). |
| AnimRig | - |
| AnimRootMotion | - |
| AnimScriptRef | A script (Behaviour) bound to a symbol, a scene or an instance: the script file's id (AnimFile.scripts) and the values of its fields. Additive in v1. |
| AnimSection | A named stretch of a scene's frames (sections.ts). |
| AnimSkin | a mesh item following bones (AnimWarp.sk): the rig, the bones (the columns of w) and one row of weights per mesh point |
| AnimSlotEntry | One item of a slot profile as seen (AnimFile.slots[profile][fullName], owner 2026-11-20). An item tagged sl that a run-time rule dresses is drawn as it with its own look, its matrix switched by @utils/pure/slotSwitch slotSwitchMatrix (ps / pv of the two entries). |
| AnimSlotRef | ItemLook.sl: profile name + the item's full name |
| AnimSlotRule | one rule: items showing slot entries show the entry of the same full name of profile instead |
| AnimSound | A sound of the export (an audio file next to the JSON). |
| AnimSoundClip | A sound on a symbol's timeline (from the editor's sound layers). |
| AnimSymbol | - |
| AnimText | - |
| AnimTextAnim | one AnimLayer.tx preset over a frame range |
| AnimTextRun | - |
| AnimTextRunStyle | the styles of a run that differ from the text's base font |
| AnimValues | - |
| AnimVector | Vector art (owner 2026-10-30): a sprite whose SpriteDef.vector names one of these is drawn by the player as paths instead of an atlas picture — sharp at any scale. Shapes in drawing order, in the sprite's local space (the item matrix places it like a picture). |
| AnimVectorShape | - |
| AnimVideo | a video file shipped next to the JSON |
| AnimWarp | a warp on a sprite item: the mesh (key of AnimFile.meshes) and how far each point moved (absent = not moved) |
| AtlasPage | - |
| BlurPose | a local pose: matrix in the parent's space + the 3D turn, if any |
| CameraPose | Where the camera is: x, y = centre of the frame in stage (world) units, rotation in radians, scale > 1 zooms in, width / height = the frame in pixels. |
| CameraRun | A run of frames with one camera pose (global frames of the symbol); t = its LAST frame tweens on into the next one (強制平滑 / fractional playheads draw the in-between, smoothPair). |
| CardPose | Everything needed to place one card, in the card's PARENT space: space = parent → the space its projection is defined in (affine, identity when the projection is the parent's own). |
| ChainClip | a timeline a chain can drive |
| ChainOps | - |
| ClipClockHost | what a clock needs from the clip it drives |
| ClipClockOptions | where the export clock's rules differ from the player's (all off = the player) |
| ClockFrameRef | a frame reference of a goto / playTo / repeat (anim-format resolveFrameRef) |
| ClockScene | one scene of the timeline: its name and global frames |
| EmitClip | a clip an emit can bubble through |
| FlatSprite | - |
| FpsRamp | A frames-per-second value that may be moving linearly to another one. |
| FrameMap | THE frame map: a timeline's scenes, sections and labels as plain data, global frames (all scenes in a row). The editor builds it (document section.ts frameMapOf), the runtime builds it from an exported symbol (anim-format frameMapOfSymbol); anim-format's frame resolver (resolveFrameRef, spanAt, sectionRange) and THE state machine (states.ts stateBeat) read it. Type only. |
| FrameRef | what a goto / playTo / repeat names |
| FrameSpan | a span: a named section, or frames of a scene outside any |
| ItemLook | the look every item may carry (sprites too: bitmaps and text) |
| LayerFxRun | One frame range of a layer's look. |
| LazyNeeds | The on-demand ("lazy") media of some runs. |
| MarkerBounds | - |
| MarkerData | One marker as data — an export script's MarkerInfo fits as it is. |
| MarkerDataGeometry | a marker's geometry as the editor stores it (see MarkerGeometry in the editor's document model): point / data: x, y; arrow: x, y (tail), angle (degrees, clockwise), length; hline / vline: x, y, length (signed); rect / ellipse: x, y (top-left), w, h; circle: x, y (centre), r; parabola: x, y (start), vx, vy (per frame); polygon: x, y + points (corners [x0, y0, x1, y1, …] relative to x, y) + cx / cy (its own centre relative to x, y, optional) |
| MarkerHitOptions | - |
| MarkerHitResult | - |
| MarkerParabola | a parabola type's physics (absent = gravity 1, whole frames, until it is back at the start height) |
| MarkerPlacement | Where a marker is: its owner object's transform (about the owner's origin), applied after the data's own matrix. |
| MarkerPoint | - |
| MediaTimelineOrder | When (main-timeline frame, earliest) each media file is first needed. |
| ParticleColorStop | "r,g,b" as 0xRRGGBB; t = 0..1 of the particle's life |
| ParticleConfig | - |
| ParticleFrame | one evaluated frame, struct-of-arrays, reused between calls |
| ParticleNumberStop | - |
| PartNode | one node of the part tree |
| PartPlan | what a part driver draws: this symbol's parts → the source's |
| PartSelection | the parts a spec picked, by where they are in the symbol |
| PlacedMarker | a marker with its placement |
| Projection | A perspective resolved in some space: vanishing point + focal length. |
| RigPoseInput | what a pose is worked out from |
| RigSource | where a driven bone / constraint reads its keys (RigPoseInput.from) |
| Run | - |
| SlotEntryName | Slot names (owner 2026-11-10, slot profiles 2026-11-20): THE rules of dress-up by name, pure string rules shared by the editor (document slotRules.ts), the exports and the player. |
| SlotHit | - |
| SlotRuleSpec | - |
| SoundOptions | How one play of a sound sounds. Every field is optional. |
| SoundPart | the part of an audio file a sound plays (AnimSound.part) |
| SpriteDef | - |
| SpriteItem | the look every item may carry (sprites too: bitmaps and text) |
| StageFit | How a fixed stage sits in a screen: k = screen pixels per stage unit, view = the part of the stage's coordinate space the screen shows (the authored stage is 0, 0 … width, height inside it, maybe bigger or smaller). |
| StageRect | - |
| StateCondition | One condition of a transition: Input input (a row id of the timeline's Values) compared with value; no op = the Input is ON (a fired trigger, a switch that is on, a number that is not 0, text that is not empty). |
| StateMove | what a beat does: go to frame (global) and play; transition = the arrow taken (null = the state looping back to its own first frame) |
| StateTransition | One arrow of a state machine: from section from (absent = ANY STATE) to section to, taken at a beat when every condition of when holds and, with end, the section has played to its last frame (exit time). The same shape in the .hm5 (Layer.transitions of the section layer) and the runtime JSON (scenes[i].transitions). |
| StoredVector | AnimVector as stored in AnimFile.vectors |
| SymbolItem | the look every item may carry (sprites too: bitmaps and text) |
| SymbolMarkersQuery | - |
| SymbolNeeds | What a symbol needs drawn, nested symbols included: atlas pages (by index), external symbol keys, text keys. |
| TargetNode | Something a target path walks: a clip with a parent and child clips. |
| TextAnimChar | one drawn character of a text, in reading order |
| TextAnimCounts | letter / word / line number of each character (-1 = white space) and how many there are of each |
| TextAnimDef | - |
| TextAnimSpec | a preset over a frame range — what the editor and the player hand in |
| TextItem | Live text (owner 2026-10-26): drawn by the player from AnimFile.texts[text]; scripts can change it. Additive in v1. |
| TextUnitState | what the animation does to one letter / word / line, about its centre |
| ValuesHost | What a player supplies for one evaluation of a timeline. |
| ValuesPlan | - |
| ValuesResult | - |
| VerticalPiece | Vertical (CJK) text layout, writingMode: "vertical" — CSS vertical-rl with text-orientation: mixed: characters run top to bottom, columns right to left from the box's right edge; CJK characters stand upright (punctuation as its vertical presentation form), other runs (Latin words, digits) are turned 90° clockwise. Pure: the caller measures text widths. Shared by the editor's renderer, its SVG export and pixi-hm05. |
| VideoItem | A video object on a run. Additive in v1. |
Type Aliases
| Type Alias | Description |
|---|---|
| AnchorX | where a layer holds on across: an edge, the centre, or both edges (stretch) |
| AnchorY | where a layer holds on down: an edge, the middle, or both edges (stretch) |
| AnimBoneRef | a layer following a bone as one piece: [index in AnimSymbol.rigs, bone id] |
| AnimCell | A named value that is not an Input: a Ref (r: [layer index, channel] — the reading of one property of that layer's object) or a Formula (e). |
| AnimExpr | A formula's syntax tree (@utils/pure/expr Node without its source positions): rows are named by id, objects (@object.channel) by the index of their layer in AnimSymbol.layers. Players need no parser. |
| AnimPluginData | plugin name → that plugin's own data (any JSON): hm05 and its players only carry it — game engine plugins / scripts read it (e.g. box2d → a body's weight). On AnimSymbol and on a symbol item. |
| AnimPreserve3d | How a symbol treats the 3D inside it (AnimSymbol.p3, plan R9 — CSS preserve-3d): "sort" = its cards share the enclosing 3D space (its own turn composes with theirs, one projection) AND are drawn far to near; "keep" = the same space, layer order kept. Absent = flattened (Flash: the symbol is drawn flat, then turned as one card). |
| AnimSlotContent | What an item is without its place and look (no m, a, c, f, b, v, r3, mb, id, iv, plugins, sl; a mesh's w has no pulls d) — what a slot entry draws. |
| CameraPoseArray | [x, y, rotation (radians), scale] |
| ChainStep | what a step did: null = nothing to watch; token = moves right after its own move; block = a playTo / wait now holds the chain |
| EmitterPoseAt | the emitter's matrix at an earlier emitter time (world space) |
| FormatVersion | THE file-format version rule (owner 2026-11-19), used by the source format (.hm5, document serialize/migrate.ts) and the published runtime format (anim-format) — two independent numbers of the same shape. |
| HitShape | a marker resolved to the space it is compared in (markerHitShape) |
| Item | - |
| MarkerDataShape | - |
| MarkerMatrix | an affine matrix [a, b, c, d, tx, ty]: x' = a·x + c·y + tx, y' = b·x + d·y + ty |
| Matrix | [a, b, c, d, tx, ty] — x' = ax + cy + tx, y' = bx + dy + ty |
| Matrix2D | Flash-style 3D rotation (owner 2026-10-30, plan docs/plans/2026-10-28-3d-rotation-plan.html): THE one evaluation the editor, the exporter and the player share. Not a 3D scene — every object is a flat card turned about its own X / Y axes, pushed along Z and drawn through a perspective projection; stacking order stays the layer / depth order (nothing passes through anything). |
| MediaLevel | When a media file loads (owner 2026-10-30): "first" = before the animation starts; "auto" = in the background after it started, in order; "lazy" = only when the timeline / a script needs it. |
| ParticleBuiltinTexture | built-in textures (one small atlas made at run time, pixi-hm05) |
| ParticleMatrix | emitter → parent: [a, b, c, d, tx, ty] (pixi order) |
| ParticlePresetId | The built-in emitter presets of the particles plan (fire, smoke, rain, snow, sparks, sparkle, bubbles, magic dust, explosion, confetti, dust). Sizes are for a 550 × 400 stage; seed 1 (a new emitter gets its own). |
| ParticleShapeKind | - |
| PartSpec | part names: one entry or several (see the file comment) |
| PlaybackAction | Playback actions (editor: playback layers + instance triggers). A target step's path is dotted, from the running clip — _parent, _root, _children[n] (n-th child clip, bottom → top), this, or a child's object name / instance id (AnimLayer.obj.n / SymbolItem.id); absent = that clip. Frame numbers are 0-based numeric strings (frames of the scene, or of section), labels or SECTION_START / SECTION_END. A list is a CHAIN (runChain): a playTo / wait holds the rest until it is done. Players skip unknown types. |
| PlaybackTrigger | pointer triggers, or a key by KeyboardEvent.code ("key:Space") |
| PlaybackTriggers | - |
| Scale9 | 9-slice cut lines in local units: [left, top, right, bottom] |
| SoundEffect | Canned volume / pan envelopes (the editor's SoundEffect). |
| SoundGroup | Which volume / mute / pause group a sound belongs to (owner 2026-11-06, from pixi-mc's BGM / SE): "effects" (sound effects, the default) or "music" (background music: ONE at a time — a new music sound stops the one playing, the same sound already playing as music keeps playing). |
| StateInputs | an Input's value now, by row id (undefined = no such Input) |
| StateOp | how a condition compares an Input with its value |
| StoredRing | a ring as stored: numbers, or a packed "w:…" string |
| StoredVectorShape | AnimVectorShape as stored in the JSON (rings may be packed) |
| TargetStep | One step of a playback target path. |
| TextAnimBy | - |
| TextAnimKind | the presets (also the canned-motion kinds of @hm05/hm5-types) |
| TextAnimParamDef | one parameter of a preset — the structural twin of document's CannedParamDef (the Properties panel draws both the same way) |
| TextAnimParams | - |
| TextStyle | - |
Variables
| Variable | Description |
|---|---|
| ANCHOR_XS | - |
| ANCHOR_YS | - |
| ANIM_FORMAT | - |
| ANIM_FORMAT_VERSION | The RUNTIME (published) format version — rule in @utils/pure/formatVersion; independent of the source format's HM5_FORMAT_VERSION. The patch is raised by pnpm format-version; pnpm format-version --minor runtime when players of the previous minor can no longer play the file. |
| ARC_STEPS | corners a circle / ellipse becomes |
| DEFAULT_FOV | Flash's default field of view |
| DEFAULT_TEXT_LINE_HEIGHT | the editor's default line height (@hm05/document DEFAULT_LINE_HEIGHT) |
| IDENTITY | - |
| IDENTITY34 | - |
| LAZY_PRELOAD_SECONDS | seconds ahead of the playhead that "lazy" media is fetched (owner 2026-11-08: on-demand art is preloaded shortly before the timeline reaches it) |
| MEDIA_LEVELS | the load levels, earliest first |
| MESH_SOFT_MAX | highest softness (subdivision level) of a mesh object |
| PARTICLE_PRESETS | - |
| SECTION_END | - |
| SECTION_START | the first / last frame of the span a reference lands in |
| TEXT_ANIM_PRESETS | - |
Functions
| Function | Description |
|---|---|
| advancePlayhead | where one beat moves the playhead (dir 1 forward, -1 backward) |
| anchorMatrix | THE anchor matrix: authored stage space → shown stage space for a layer with anchor an, the authored stage stage and the visible view (stageFit().view). Left / top keep the distance to that edge, right / bottom to the far edge, centre / middle to the view's centre; stretch maps the authored edges onto the view's (scales that axis). The view equal to the stage = identity. |
| animCameraPoseAt | The baked camera at frame (global), t of the way toward to (a neighbouring frame; only when the run tweens on into it). Null = the camera has no run there. |
| animMarkerData | a runtime marker as hit-test data (its type's shape and physics) |
| apply34 | applies a 3×4 map to a point |
| applyHomography | applies a homography; null when the point maps to infinity / behind |
| bakeCameraRuns | Bakes poses frame by frame into runs (equal neighbours merged; t when the pose half a frame on differs — the exporter's writer). poseAt = the editor's evaluation at a (fractional) scene frame. |
| barycentric | barycentric weights of (x, y) in triangle (a, b, c) of pts; null when the triangle is degenerate |
| bindValue | what a channel takes, from what its formula gave (undefined = the wrong kind: left as the timeline says) |
| blurOffsets | how far back (frames; negative = ahead) each picture is taken, first = now for a trailing blur; empty = no blur (shutter 0, no exposure) |
| boundsOverlap | do two boxes overlap (touching within tol counts)? |
| bubbleClipEvent | Fires name on clip (stored frame frame of symbol), then on every clip holding it, until one stops the event. A destroyed clip emits nothing; a destroyed clip on the way up is skipped (the walk goes on above it). fire hands the event to one clip's listeners. |
| cameraCorners | the four world corners of the camera frame (top-left first, clockwise) |
| cameraFrameMatrix | camera-frame pixels → world: where a layer pinned to the camera (AnimLayer.pin, the editor's cameraSpace) is drawn |
| cameraViewMatrix | world → camera-frame pixels (frame top-left = 0, 0) at pixelScale. |
| cameraViewSize | The view a timeline is framed in (the published page's size): its first scene's camera frame, else the stage (the video export's rule). Null = no stage (a symbol export without a camera). |
| cardHomography | A card's homography in parent space (flat parent position → projected parent position) from 4 points around its turning point, size apart. Plane → plane perspective maps are exactly homographies, so 4 points fix it everywhere. Also tells whether the viewer sees the back. |
| cardInFront | the 4 points a card is checked at: size around its turning point (all must be in front of the eye to draw it) |
| cardMatrix | A card's pose as a 3D map: its LOCAL (x, y, z) → its parent's 3D space (the same placement cardProjector draws). |
| cardProjector | Maps local points of a card to its projected position in PARENT space. Returns [x, y, w]: w ≤ 0 = behind the eye (not drawable). |
| cardRotation | The 3×3 linear part that turns parent-space offsets from the card's turning point: Rz(θ) · Ry · Rx · Rz(−θ), θ = the 2D matrix's rotation (so X / Y are the card's own axes). Row-major [9]. |
| casedText | THE letter-case rule of textTransform (CSS text-transform): the text with its content and runs as drawn. "capitalize" upper-cases the first letter of each word (after the start or white space, across runs) and leaves the rest as typed, like CSS. Same object back when there is nothing to change. |
| chainTargets | THE target rule: the paths each action of actions acts on ([] for the target steps themselves; [""] = the running clip) |
| cleanPosition | a position with float drift removed (whole numbers stay whole) |
| colorAtLife | - |
| compareSlotNames | natural order by parts: numbers by value, the rest by code units |
| concatColor | colour transform outer applied after inner |
| conditionHolds | THE meaning of one condition |
| controlsPlayhead | Actions that move a clip's playhead or set its own speed — aimed at a synced (driven) clip they take it over (its own clock from then on). THE rule for the player (pixi-hm05) and the export clock (exporter). Side-effect actions (sounds, setVisible, setInput, call, emit, canned, openUrl, target steps) are false: they never take a clip over. |
| cosSin | cos / sin of degrees — exact for multiples of 90° (no Math.cos rounding: deterministic everywhere); other angles use Math.cos / sin |
| createParticleFrame | - |
| cycledItems | a layer's items on frame once the clip has run played frames before this pass: each looped object shows its own round's frame |
| depthOf | depth of a local point (projection space z: bigger = further) |
| det3 | determinant of a 3×3 (row-major) |
| dressItem | item as drawn under rules: the same item when it shows no slot entry or no rule dresses it. A dressed item is the other entry's content with this item's look (alpha, colour, filters, blend, visible, 3D, motion blur, id, instance variables) and place (slotSwitchMatrix). A mesh keeps its pulls when the other mesh has as many points (else they are dropped, as in the editor). sameKind (an object layer: ONE object all along) only switches a picture to a picture. |
| dressSymbol | symbol as drawn under rules (weakest first): the same symbol when nothing of its own runs is dressed, else a copy whose runs (and loop rounds) hold the dressed items — layers, frames and everything else are shared, so a player can swap one for the other in place. Only the symbol's OWN items: the clips inside it are dressed by their player (same rules + their own). Cached per symbol and rule list. |
| drivenRun | The run a driven layer li of target draws while the driver shows source frame srcFrame: the source layer's objects there (shared: this layer's own objects in their motion, sharedItems) as a one-frame run on frame frame of the target's timeline — frame - f + o = the source's elapsed frames in its keyframe, so nested symbols play on. Null = the source layer shows nothing there. |
| earlierLevel | the earlier of two levels |
| evalGlobals | Globals: Inputs + Formulas only, no objects |
| evaluateParticles | Every particle alive at emitter time t (seconds; fractions for force smooth sub-frames). Local space = positions in the emitter's own space; world space = in its parent's, using poseAt(birth time) for where the emitter was when each particle left it (default: the identity, i.e. the emitter never moved). |
| evalValues | THE evaluation of a timeline's values and binds (memory is kept by the caller between frames). |
| facing | 0..1 how much a card faces the viewer (1 = square on, 0 = edge-on): its plane's normal against the view axis |
| fieldOfView | the field of view whose focal length across width is focal |
| filterAtTime | f at seconds of its timeline (itself when it does not move) |
| filtersAtTime | every filter of the list at seconds (the list itself when none moves) |
| findSoundByName | THE rule for finding a sound by the name a script / Playback action gives (editor, player and video export all call it): the Library name exactly ("tone.wav"), else the name without its extension ("tone"). Returns the id of the first match, or null. |
| flat3 | a 2D affine as a 3D one; depth scales with the matrix's mean scale (a symbol scaled ×2 keeps its cubes cubes) |
| flattenFrame | Everything a symbol shows at a frame, flattened to sprites with their full matrices — the reference semantics for every runtime, and what the export round-trip tests compare against the editor. |
| focalLength | focal length (px from the eye to the z = 0 plane) of a field of view across width (the stage width, Flash) |
| followKeyAt | THE follow switch in force at frame (AnimLayer.fk): the last one starting at or before it; null = before the first (or none) — then the layer's own parent / bone hold |
| formatCompat | How a file of version file relates to a reader built for reader: - "same" same major.minor (any patch) — read it as is - "older" the file is from an earlier major.minor — upgrade it - "newer" the file is from a later major.minor — the reader is too old - "invalid" file is not a version |
| formatSeries | "major.minor" — the part that decides whether two files are the same shape |
| frameMapOfSymbol | the frame map of an exported symbol (cached per symbol object) |
| framingPose | What a camera-framed view shows (THE rule for the editor's exports and the player): pose = the scene's camera (null = a scene without one), drawn into a view frame (the first scene's camera frame, else the stage). A camera keeps its centre / turn / zoom and is stretched to nothing: its pixels are the view's. A scene without a camera = a camera of the view's size on the stage centre, not zoomed. |
| fxAtTime | a layer / folder look at time from the real frame frame (like itemAtTime); a missing run = plain; null = not continuous |
| gradientSpreadRatio | An offset after the gradient's spread, in 0..1. Radial gradients have no "repeat" (it reads as pad). |
| gradientUnitRatio | The colour offset at a point of unit gradient space, before spread (the editor's gradientRatioUnit, same maths). |
| gridTriangles | triangles of a cols × rows grid of (cols + 1) × (rows + 1) points laid out row by row |
| hasCamera | a symbol whose timeline is framed by a camera (a main timeline with a camera in one of its scenes) |
| hasStageAnchors | the file's main timeline has stage anchors: its page fills the window (no letterbox clipping) and tells the clip the view on every resize |
| hasStateMachine | does the timeline have a state machine at all |
| hitTestMarkerData | Do two markers touch, and where? Each is marker data (taken as it is, after its own matrix), a placed marker { marker, x, y, scale, … }, or a shape from markerHitShape. point = the centre of the overlap, in the compared space; data tags never hit. |
| hitTestShapes | Do two resolved shapes touch, and where (AABBs first)? |
| homography | The homography (row-major 3×3, h[8] = 1) taking the 4 points src ([x0,y0, …, x3,y3]) to dst; null when degenerate. |
| identityUnitState | - |
| ignoresTarget | actions that act on the running clip whatever the target steps say (sounds, a repeat of this list, global speed, opening a page) |
| innerPlayhead | THE inner-frame rule shared with the editor (engine instanceFrame): steps (maybe fractional) frames on from first, looping or held at the end, maybe reversed. first may be fractional (a pinned position — loop: "single" with a fractional ff, a time-remapped instance): the frame shown is then its position rounded half up. |
| inputDefault | - |
| inputOut | a value as code reads it from clip.inputs (a colour = "#rrggbb" / "#rrggbbaa") |
| inputValue | an Input's saved / given value as the language sees it (a colour "rrggbbaa" / "#rrggbb" → a colour) |
| invert2d | the inverse; a degenerate matrix (determinant exactly 0) → identity (the runtime's rule — document mat2d.invert throws instead) |
| invert3 | - |
| isAnchor | a valid anchor value |
| isFlat | true when the pose turns or moves in depth at all |
| isSpriteItem | a sprite (an atlas / vector picture): not a symbol, text or video |
| isSymbolItem | - |
| isTextAnimKind | - |
| isTextItem | - |
| isTimedFilter | the filter moves by itself (its kind has a speed and it is not 0) |
| isUpright | true = the character stands upright in vertical text |
| isVideoItem | - |
| itemAtTime | Item index of the run at real frame frame, as drawn at time (fractional; before or after frame): followed run to run while tweened runs hand it over (same index, same item — as smoothing pairs them); null = it was not moving like this then. |
| itemFrame | The inner frame a (synced) symbol item shows elapsed frames after its run began. Mirrors the editor exactly. A slowed / sped-up item can sit between inner frames: the one shown is rounded half up (itemPlayhead). |
| itemPlayhead | The inner frame shown elapsed (maybe fractional) parent frames in, and the inner POSITION tweens are drawn at (owner 2026-11-06, playhead.ts): pos = frame ± the way to the neighbouring inner frame, frame when that neighbour is not next to it (a wrap, the end of a play-once). |
| joinChains | Lists run one after another as ONE chain (several playback layers on a frame, statements of a script): each list starts at the running clip again. |
| joinOffsets | offsets put together: extra on top of base (add; scales multiply) |
| layerPoseAt | THE pose of a layer at a frame (flattenFrame, marker walks): its own look (fx m / a, hidden), and (object parenting, AnimLayer.parent) its parent layer's pose × the parent object's matrix; null = not drawn (hidden, or the parent object is). |
| layerTextSpecs | a layer's tx as textUnitAt specs (empty = none) |
| layoutVerticalText | - |
| lazyNeedsAhead | The on-demand media of runs that START after frame and by frame + ahead (loop: the window wraps round the symbol's end) — what a clip about to reach them should fetch now. Cheap: the runs showing lazy media are found once per symbol. |
| lerpAnimFilters | filter lists between two: the same kinds in the same order move their numbers / colours; anything else holds a |
| lerpCameraPose | a pose between two: position and rotation linear, scale geometric (a 1× → 4× zoom passes 2× halfway, like the editor's camera keys) |
| lerpColorTransform | colour transforms between two (absent = none); none when both are |
| lerpFx | a layer / folder look t of the way to b (a missing run = plain); visibility and blend hold a's |
| lerpItem | an item t of the way to b (matrix, alpha, colour, filters); its other fields (inner frame, names, actions) stay a's |
| lerpMatrix | A matrix between two: position, rotation (the short way), scale and shear each move linearly — a turning object keeps its size. |
| lerpR3 | a 3D pose t of the way to b (a missing one = flat about b's / a's turning point); the back face and own perspective's presence hold a's |
| lerpRunItems | the items of a run t of the way to the paired run (unpaired items hold) |
| linearRgbRamp | THE linearRGB gradient blend (Flash "linearRGB" interpolation, owner 2026-11-08; the editor's renderer and the player both draw their ramp texture from it): n RGBA samples (0..255) along the stops (offsets 0..1 ascending, colours "RRGGBB" / "RRGGBBAA"), the colours blended in linear light and converted back, alpha blended plainly. Before the first stop / after the last one the end colour holds. |
| loopWarning | the console text for a stopped loop |
| mapThroughMesh | Maps a point through the mesh: from points → to points (same triangles). Returns null when no triangle of from holds it. When several overlap (a folded warp) the topmost (last) triangle wins, as drawn. |
| markerDataCenter | a marker's centre in the compared space (a polygon's own centre when set) |
| markerGeometryCenter | a marker's centre in its layer space (THE rule: document markerCenter) — a polygon's own centre, else its area's centroid; an arrow / line / point / circle: its x, y; else the middle of its box |
| markerHitShape | A marker resolved to the space it is compared in: its geometry grown about its centre (centerScale), through its own matrix, then the placement. Resolve once and reuse when a marker is tested many times. |
| maskPose | A sampled pose with the parts the blur leaves out (AnimMotionBlur.x) taken from now: moving is how centre (the art's middle, local space) travels, rotating / scaling happen about it. |
| matrixMaxScale | the largest stretch of a 2D matrix (its larger singular value): how many units one local unit can cover, in any direction |
| matrixScale | a matrix's scale along its own x / y axes |
| mediaLevel | a media file's load level (no manifest entry = "first") |
| mediaTimelineOrder | Timeline order of the media (owner 2026-11-08): the earliest frame of the main timeline at which each page / vector file / external symbol / sound is first needed — a nested symbol counts from the frame its instance first appears (its own frames added). THE order the player's "auto" level loads in; what nothing on the timeline reaches is absent. |
| meshSoftLevel | the clamped softness level: a whole number 0..MESH_SOFT_MAX |
| mul3 | - |
| mul34 | a · b of 3×4 affine maps (apply b first) |
| multiply | multiply(m, n) = m · n: applies n first, then m |
| nearestSlotName | The entry a library gives for wanted: the same name, else the nearest of its family (see the file comment); undefined = nothing of the family. |
| newParticleSeed | a fresh seed for a new emitter (not deterministic — only for creation) |
| nineSliceMesh | The 9-slice mesh of art with local bounds b, cut at cuts, drawn with scale (sx, sy): rest + drawn points of a 4 × 4 grid and its triangles. null when the art has no area. |
| numberAtLife | - |
| packMotionBlur | the runtime form of a document MotionBlur (structural: no document import) |
| packRing | flat number list → "w:…" |
| packVector | a vector with every ring packed (what the exporter writes) |
| parseTargetPath | _parent._children[0].redball → steps; "" / "this" = []; null = not a valid path. |
| parseVectorSvg | Reads what vectorToSvg wrote; null when text is not such a file. |
| partFrameAt | Where a part driver's playhead is: pos frames (fractional, from 0) into the section [first, last] → the source frame shown (whole); a driver that plays once is done past its last frame (it showed every frame for a whole frame's time). |
| particleNoise | −1..1, continuous in x / y / z |
| particlePreset | a deep copy (presets themselves are never edited) |
| particleRandom | 0 ≤ r < 1, the same for the same arguments forever |
| particleReach | A box (emitter space, local mode) every particle stays inside, for boundsArea / culling — the shape grown by the farthest a particle can get (launch + acceleration + turbulence) plus the largest size. |
| partTree | THE part tree of a symbol (cached): rigs, bones, IK constraints, layers |
| placementMatrix | the matrix of a placement (x, y, scale, rotation; or its matrix) |
| planParts | THE plan of a part driver: the parts of target that spec names (undefined = all), each with what it plays from source (default the same symbol: the same layer / bone) when the section starts at frame at of the source (picks the rig of that scene). |
| planWithout | what is left of plan without the parts of other (clip.overlay(null, {parts}) takes parts back); null = nothing left |
| playedAfter | The frames a clip has already run before the pass it is in, after its playhead went from prev to next (total frames long): one more pass on the step from the last frame round to the first, kept on a step forward (or no move), 0 after any other jump. |
| playheadBetween | The in-between to draw for a position, seen from the frame shown: to = the neighbouring frame it leans toward, t (0..1) how far; null = exactly on the shown frame. shown defaults to the position's own shown frame; |pos - shown| over 1 is capped at the neighbour. |
| polygonCenter | the area centroid of a closed polygon (the corners' mean when flat) — THE @utils/pure/markerGeometry rule |
| poseRig | THE skeleton of a rig at a frame: every bone posed (its rig's space) |
| projectionHomography | The homography (row-major 3×3) taking a card's LOCAL plane (z = 0) to the projection's 2D space, for A = local → the projection's 3D space. Exact: x' = (X + vx·Z/f) / (1 + Z/f). |
| projectRect | The 4 corners of a local rectangle, projected into parent space ([x0,y0, …]: top-left, top-right, bottom-right, bottom-left), or null when a corner is behind the eye. |
| rampTo | - |
| rampValue | - |
| randomFrameList | the frames a gotoRandom picks from: its range (0-based, both ends in) or its list |
| remapPlayhead | TIME REMAP (owner 2026-11-23): the inner frame shown + position of an instance whose inner position is keyed (position, a frame of its symbol, fractions = between frames): past the end it wraps, or holds the last frame when once (play once / stop at end). The editor (engine instanceAt) and the exporter (a remapped item = this pos as a fractional ff with loop: "single") both call this. |
| resolveFrameRef | THE meaning of a frame reference, seen from global frame at: - scene (from a scene action) = look in that scene, else the one at is in; - section given: a number counts from its first frame, a label is one of its own, START / END are its ends; - a number past the end = the last frame (of the section / scene); - no section: a number is a frame of the scene, a label is looked up in the span at is in first, then (goto only) anywhere in the scene; START / END = the ends of the span at is in (of the whole scene when a scene action led elsewhere); - mode "playTo": the result must lie in the span at is in — playTo never plays into another section (null). Null = no such frame. |
| resolveSlotName | What a slot name shows under a list of rules: the LAST rule that applies wins (later rules lie over earlier ones; callers put the owner's own library first, inner instances' rules next, outer instances' last). undefined = no rule has anything for it — the object keeps its own art. |
| resolveTargetPath | Walks path from from; null when a step leads nowhere. |
| rigChannel | a rig bind's / Ref's channel (AnimBind.c with l < 0): bone.<id>.<channel> |
| rigFollow | what follows bone boneId as one piece gets: its pose relative to its rest pose (the rig's space); null = no such bone |
| rigKeyedValue | What a rig's KEYS give one property at a frame — what a bone's formula reads as value, what a Ref of it shows: a bone's posed own value (rest + baked keys + extra), a constraint's mix; "@x" / "@y" = where the bone's origin is (the rig's space) and "@parent" = the angle its parent bone points at — what this.x / y / parent read in a bone's formula. |
| rigOfLayer | the rig a negative layer number of the Values names (-1 - index) |
| rigRest | the rig at rest (no keys, no constraints): what following layers and weights are measured against |
| rigTrackAt | a baked track read at frame a, or t of the way to frame b (the in-between a smoothing player draws) |
| rigTravelAt | ROOT MOTION: the travel at frame a of the symbol's timeline (or t of the way to b), the rig's space; {0, 0} without root motion. Frames outside the rig's own read its first / last. |
| rigTravelStep | ROOT MOTION: how far the root moves when PLAYING moves the playhead one frame from from to to (whole frames of the symbol's timeline). A step forward from the rig's last frame back to its first (a loop) adds the cycle's travel: what the last frame moved by is taken to be the step across the loop too — author a cycle WITHOUT a repeated end pose (the Flash loop rule). Backwards = the same step negated. Not for jumps (goto): the caller hands those no travel. |
| runAt | The run of a layer covering frame, or null. |
| runChain | Runs actions from from as a chain (see the module comment). |
| sameItem | the same object on both frames: the same sprite, the same symbol instance (same symbol, same id when it has one) or the same text object |
| sanitizeParticles | a copy with every number in range (never throws) |
| sceneIndexAt | the scene of sym holding frame (global), or -1 |
| scenePerspAt | A scene's perspective at a scene-local frame: the camera's keyed one (perspFrames, one per frame, plan R10 — dolly zoom) else the scene's own; null = the default (55° from the stage centre). |
| sectionAt | the named section a frame is in (undefined = none) |
| sectionPosition | The playhead position progress (0..1) of the way through a section / phase (sectionRange): first + (last − first) × progress — fractional, so tweens are drawn in between (anim-format playhead.ts). Null = no such section / label. |
| sectionRange | The frames a section (or one of its PHASES) covers — pixi-mc MCActor's action / phase, for timeline.showSection / Actor (owner 2026-11-06). section = a named section (the scene at is in first, then any scene); null = the span at is in. phase = a label inside it: from that label to the frame before the next label of the span (or its end). last is inclusive. Null = no such section / label. |
| selectParts | the parts spec names (undefined / "*" = every part) |
| shadeFactor | the colour multiplier of darken-by-angle (AnimR3.sh) |
| sharedItems | A SHARED layer's objects (playShared): dst's own objects (its setup pose = its first run with objects) moved the way the source layer's objects srcItems moved from THEIR setup pose — object k of a kind ↔ object k of that kind (pairByKind) — with the source's alpha / colour / filters / blend / visibility / 3D, a symbol's loop / first frame, a mesh's pulls when the point counts agree. Objects of dst nothing pairs with stay as they are set up. Cached per source frame. |
| shownFrameAt | the frame shown at a playhead position (rounded half up) |
| showSlotItem | item (showing a slot entry) showing the entry called name of its own profile instead — a "slot" bind (owner 2026-11-22). The same item when there is no such entry / it already shows it. Its look, place and id stay its own (as dressItem). |
| skinnedPulls | The pulls a skinned mesh is DRAWN with: rest = its rest points, own = its own pulls (the item's d), toRig = the mesh's own space → the rig's (its layer's matrix × its own). Null = nothing moved (draw own). |
| skirtMesh | The mesh with a SKIRT (owner 2026-10-31): art outside the mesh is still drawn — every convex-hull edge is pushed straight out past box (the flat content's bounds, rest space) as a quad, and the corners between them are fans, so whatever lies outside follows the nearest outline points (moved with them, turned like their edge). The first rest.length / 2 points are the mesh's own; core says how many. |
| slotFamilyEntries | the entries an item tagged with the full name name could be dressed as: every entry of every profile whose name is of the same family |
| slotGlobCaptures | what the *s of pattern catch in name; null = no match |
| slotGlobMatch | - |
| slotGlobReplace | name renamed by a rule: null when match does not match or to has more *s than match caught. No to = the name itself. |
| slotNameCandidates | the full names a "slot" bind's value may mean for an item showing current: as given, else an item of the same circle (the editor's rule, document slotNameCandidates) |
| slotNameParts | - |
| slotRuleEntry | What an item showing the entry called name shows under rules (weakest first; a rule naming a profile the file does not have is skipped); undefined = what it shows itself. |
| slotSwitchMatrix | THE transform of an object switching slot items (owner 2026-11-20 S1; document slotSwitchTransform and the runtime's dressItem both call it): the object keeps its "slot pose" (its transform without the old item's natural turn / scale), takes the new item's, and the two items' pivots (in each item's own space; absent = its origin) stay on the same spot. |
| smoothPair | The runs to draw between frame and the frame the playhead goes to next (next = frame ± 1): {from, to} when the earlier of the two frames is the last frame of a run marked t and the later one starts the next run (or has none: a layer look back to plain); null = no tween in between (hold the real frame). |
| softMesh | A mesh object's SOFTNESS (owner 2026-11-07, like subdivision surfaces): the user's points stay where they are (the first rest.length / 2 points, same order) and level times every triangle is split in four, the new points pulled along a smooth curve through their neighbours' pulls (each point's slope = the least-squares gradient of the pulls around it; edge middle = cubic Hermite midpoint) — so bends come out round instead of folded at the triangle edges. Interpolating: a pull that changes evenly (moves, turns, scales, shears) is drawn exactly as without softness, and no pull = nothing changes. Rest points of the new points are halfway between theirs (the flat picture is not bent). drawn absent = rest (nothing to soften). |
| soundBaseName | a sound name without its file extension ("tone.wav" → "tone") |
| soundEnvelope | Gain (0..1, volume included) and stereo pan (-1 left … 1 right) at t seconds into a play lasting total seconds (Infinity = forever: no fade out; the pans sweep once per loop of loopLength). |
| soundFileTime | Where in the file a play is after t seconds: the file time and the loop it is in, or null once it has ended. |
| soundPlayLength | Seconds one play lasts (all loops); Infinity when it loops forever. |
| soundSegment | The part of the file one loop plays, in seconds of the file. |
| spanAt | the span holding a global frame |
| spinBlurPadding | how far a spin blur of angle° can turn a box corner out of its box |
| spriteScreenScales | THE "largest on-screen size" rule (owner 2026-11-13, Publish "Picture size"): for every sprite of file, the largest scale it is ever drawn at, seen from the main symbol at 1 (× its scenes' largest camera zoom; layers pinned to the camera excluded). A 1000 px picture never shown larger than 100 px gets 0.1. Conservative — never smaller than what is shown: each symbol's largest scale (over every place showing it) × the largest scale of each item, layer look, folder look and parent object inside it, independent of timing (scripts and own clocks cannot beat it). 3D turns and mesh pulls are not counted. Sprites never reached are absent. Symbols in other files (externals) count from their own main at 1. |
| stageFit | THE page layout of a fixed stage (Properties › Stage scale / align): "fit" scales the authored stage to fit the screen whole (aspect kept), "none" keeps 100 %, a number is that scale; "center" puts the stage in the middle (whole screen pixels), "topLeft" at the corner. The view is what the screen shows of the stage's space around it. |
| stateAt | the state (named section) a global frame is in; undefined = none |
| stateBeat | THE beat of a state machine (see the module comment) at global frame at; forward = the clip is playing forward (the state loop applies), false = stopped / backward (only arrows). Null = no state machine here, or nothing to do: the timeline plays on as it says. |
| stateTransitionsAt | the state machine of the scene holding global frame at (none = undefined) |
| stepRamp | advances a ramp by ms; true while it is still moving |
| streamTime | A stream sound at timeline frame frame: seconds into its play, or null outside its frames. |
| symbolCameraPose | The pose the player frames sym with at frame (+ t toward to): the scene's baked camera through framingPose. Null = no stage / view. |
| symbolHasAnchors | a symbol has a layer pinned to the stage edges |
| symbolHasSlotItems | true when any item of the symbol's own runs shows a slot entry |
| symbolMarkersAt | The markers of a symbol at frame (0-based, symbol-global), in the symbol's space: its own marker layers (bottom first), then — deep, default true — those inside the instances it shows there (bottom layer first, each placed by THE layer pose layerPoseAt, its folders and its matrix; hidden layers / folders / items and mask layers left out). |
| symbolNeeds | The pages / external files / texts a symbol (and every symbol inside it) shows — what must be loaded before it can be drawn. |
| takesScene | actions a scene step right before them points into its scene |
| targetStepPath | a target step's path, normalised ("" / "this" = the running clip) |
| textAnimActive | whether any preset changes something at frame (else draw the text whole) |
| textAnimBy | what a preset animates one by one |
| textAnimDef | - |
| textAnimParams | a preset's parameters with its defaults filled in |
| textAnimUnits | Groups the characters of a laid-out text into units: a letter = each character that is not white space; a word = letters with no white space or line break between them; a line = the letters of one drawn line. |
| textRunFont | the effective style of a run (base font + its overrides) |
| textRunsOf | the runs of a text (one run of content when it has none) |
| textUnitAt | THE per-unit maths: what preset spec does at frame (fractional ok) to unit unit of count (letters / words / lines in reading order), stacked INTO out (offsets and turns add, scale and alpha multiply, hidden wins). Returns out. |
| textUnitRanks | When each unit goes: ranks[i] = its turn (units sharing a turn go together — "from centre" starts both middle letters at once), steps = the number of turns. Random = a seeded shuffle (same seed → same order). |
| unpackRing | a stored ring → numbers (a number array is returned as it is; a string that is not a packed ring → []) |
| unpackVector | a stored vector with plain rings (what players draw) |
| unprojectPoint | A projected parent-space point back onto the card: its LOCAL position (hit tests), or null when the card is edge-on / behind. |
| unwarpPoint | a point as drawn (warped space) → the point of the flat picture it shows (rest space); null = outside the warped mesh |
| validateAnimFile | Structural check of an AnimFile; returns human-readable problems. |
| valuesPlan | The cells of a timeline, sorted (once per AnimValues object). |
| vectorBounds | the local bounds of vector art, strokes included (THE box: the SVG's viewBox, the exporter's sprite placement); empty art = 0, 0, 1 × 1 |
| vectorToSvg | The SVG text of a vector (hm05-lite draws vectors with it). |
| verticalForm | the character as drawn upright in a column |
| videoTime | Time in the file (seconds) a synced video shows elapsed frames after its keyframe started: from t0, rate, trim and loop applied; a still one always shows t0. The editor's twin is document footageTimeAt (the same rule on the document fields — keep them together). |
| warpedPoints | rest points moved by deform (same length; absent = rest) |
| zoomBlurPadding | how far a zoom blur of strengthPct % smears the art (art at distance r from the centre reaches r / (1 - strength)) |
References
invertMatrix
Renames and re-exports invert2d
multiply2d
Renames and re-exports multiply