Appearance
hm5-types (source format) / AssetMeta
Interface: AssetMeta
Properties
| Property | Type | Description |
|---|---|---|
cloneOf? | string | audio: made by "Clone" (Media panel) from this asset — sound edits change a clone in place by default, an original is protected |
crop? | MediaCrop | audio / footage (owner 2026-11-11): a CROPPED object — a head / tail cut (and play speed) of another, RAW asset of the same type; it has no bytes of its own (file / mime are the raw's). THE resolution: mediaPart (query media.ts). |
duration? | number | footage / audio: seconds |
exportId? | string | Export id: the name a script / host page loads this object by at runtime. Publish ships an object that has one even when nothing in the root scene reaches it; without one it ships only when reached. |
family? | string | font only: the CSS family name text uses (TextElement.font.family); absent = the file name without extension |
file | string | filename inside the asset's folder of the project, e.g. "<id>.png"; a script's is its Library path ("enemies/Boss.ts", scriptFilePath) so the project's scripts/ folder reads like the Library |
folder? | string | Library sub-folder ("/"-separated) inside the asset's system folder (assetSystemFolder: images / video / audio); absent = directly in it. Organisation only. |
fps? | number | footage only |
gen? | AssetGenInfo | made by AI Gen (owner 2026-11-03): listed in the Library's "ai gen" folder (image / video by kind). A PLACEHOLDER (status "pending") is the grey picture shown while the server works; it remembers the request so the result can replace it. |
height | number | 0 for audio / font / data |
id | string | - |
loadLevel? | LoadLevel | Publish (owner 2026-10-30): when the file loads (see LibrarySymbol.loadLevel); absent = "first" — or, for a picture only used inside a symbol with a level, that symbol's |
mime | | "audio/mpeg" | "audio/wav" | "audio/ogg" | "audio/mp4" | "audio/aac" | "audio/webm" | "audio/flac" | "font/ttf" | "font/otf" | "font/woff" | "font/woff2" | "text/css" | "application/json" | "application/yaml" | ScriptMime | "text/plain" | "image/png" | "image/webp" | "image/jpeg" | "image/gif" | "video/mp4" | "video/webm" | - |
name? | string | Library name (imported files: the file name); absent = file |
sheet? | SpriteSheet | bitmap only: the image is a sprite sheet — a grid of equal cells (row by row from the top-left); a placed sprite object shows one cell (BitmapElement.frame). |
sound? | boolean | footage: the file has the sound inside (recorded "Video + sound", owner 2026-11-12 — the Media list shows it as video + sound); absent = not known / none |
source | "import" | "ai" | "flatten" | "record" | "record" = recorded in the app (Media panel, owner 2026-11-11) |
sourcePath? | string | desktop: where the imported file lives on disk (a dropped / picked file); Library → "Update from Original File" reloads it from there (library.updateImage). Absent on the web and for generated pictures. |
transcript? | TranscriptLine[] | audio: speech to text (Media panel STT) — lines in seconds of THIS asset's own time. A cropped sound without one shows the raw's lines that fall inside it (transcriptOf). |
type | "data" | "bitmap" | "script" | "footage" | "ref" | "audio" | "font" | - |
width | number | 0 for audio / font / data |