Skip to content

hm5-types (source format) / LayerObject

Interface: LayerObject ​

Layer.object: an OBJECT LAYER's one object; its name is the layer's

Properties ​

PropertyTypeDescription
flashInstances?boolean"New instance per keyframe (Flash)" (owner todo 2026-11-07, the great7 port; symbol objects only): the object exists only on frames that show it, and a keyframe makes a NEW instance (fresh clock, variables and scripts, its frame 1 runs again) where Flash did — after a frame not showing it, when the symbol changes or when the instance's vars change. A key a tween / plain key of the same symbol continues keeps the instance (Flash kept it too). Absent = ONE object for the whole timeline (hidden frames only hide it).
kindLayerObjectKind-
on?Partial<Record<PlaybackTrigger, PlaybackAction[]>>what a click / hover / key plays, with this object as the default target; absent = none (symbol instances only)
scripts?ScriptRef[]the object's scripts (symbol instances only)
slot?booleanSLOT OBJECT (owner 2026-11-26; symbol objects only): an instance of the symbol holding this layer may show another symbol here, with its own extra matrix and look (SymbolInstanceElement.swaps). Absent = not swappable.

HereSplash — 2D animation for the web