Skip to content

Export and import scripts / Hm05Script / LayerState

Interface: LayerState ​

A layer at one frame.

Extends ​

Properties ​

PropertyTypeDescriptionInherited from
aiOutputbooleanmade by AI generation (until converted to a normal layer)LayerInfo.aiOutput
alphanumber0..1 (layer alpha, layer tweens and canned motions included)-
blendModeBlendMode--
boundsBounds | nullwhat it draws, timeline space; null = nothing-
exportedbooleanamong the layers the Export dialog pickedLayerInfo.exported
filtersFilter[]--
folderstringlayer folders above it, "Body/Arms" ("" = none)LayerInfo.folder
guidebooleanguide / motion guide: never drawnLayerInfo.guide
idstring-LayerInfo.id
keyframe| { index: number; label?: string; length: number; tween?: "motion" | "shape" | "curve"; } | nullthe keyframe showing at this frame-
maskbooleana mask layer (its art is not drawn, it cuts the layers it masks)LayerInfo.mask
maskedbooleanmasked by the nearest mask layer above (its folder may be the masked one)LayerInfo.masked
maskInvertbooleanmask layers: the masked layers show outside the art insteadLayerInfo.maskInvert
maskMode?"shape" | "alpha" | "luminance"mask layers: what of the art masks — its shape, its alpha, or its grey level (white = shown)LayerInfo.maskMode
matrixMatthe layer's move (layer tween / canned motion): content → timeline-
namestring-LayerInfo.name
object?"symbol" | "bitmap" | "text" | "group" | "footage"an OBJECT layer (one object for the whole timeline; its name is the object's): what the object is; absent = a free layerLayerInfo.object
parent?stringthe name of the object layer this layer follows (object parenting); absent = noneLayerInfo.parent
transformTransform--
type| "vector" | "bitmap" | "motion" | "camera" | "label" | "section" | "script" | "sound" | "marker" | "bone"-LayerInfo.type
visiblebooleanProperties "Visible" (published); false = not drawn-
visibleInEditorbooleanthe timeline eye (an editing view setting)LayerInfo.visibleInEditor

HereSplash — 2D animation for the web